summaryrefslogtreecommitdiff
path: root/src/map/chrif.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-02-26 04:09:58 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-02-26 04:09:58 +0000
commit0eca88efc69becc591428fbb6b9fddd9237afd3d (patch)
treeb1784b3698c04668520e4b22ea265034b765db76 /src/map/chrif.c
parent7c4b730c6d8a0201512148fcb795c0f666bfe8c8 (diff)
downloadhercules-0eca88efc69becc591428fbb6b9fddd9237afd3d.tar.gz
hercules-0eca88efc69becc591428fbb6b9fddd9237afd3d.tar.bz2
hercules-0eca88efc69becc591428fbb6b9fddd9237afd3d.tar.xz
hercules-0eca88efc69becc591428fbb6b9fddd9237afd3d.zip
- indent cleanups
- Fixed Self Destruction causing double-free'd errors and triggering twice when a self-destruct cast makes other objects trigger self destruct as well git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9924 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/chrif.c')
-rw-r--r--src/map/chrif.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c
index 404685339..190038805 100644
--- a/src/map/chrif.c
+++ b/src/map/chrif.c
@@ -1076,7 +1076,6 @@ int chrif_disconnectplayer(int fd){
case 3: //server overpopulated
clif_authfail_fd(sd->fd, 4);
-
break;
case 4: //out of time payd for .. (avail)
@@ -1087,8 +1086,7 @@ int chrif_disconnectplayer(int fd){
clif_authfail_fd(sd->fd, 15);
break;
}
-
-return 0;
+ return 0;
}
/*==========================================