diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-12-18 09:13:01 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-12-18 09:13:01 +0000 |
commit | 8855528bcaa2c06cc7f23d53d63cbfdadd2f8fcf (patch) | |
tree | 7dc380f0d787f5c8188a4778188127dc7d0cd762 /src/char/char.c | |
parent | 3a4984a967675b1fd10c84730994bf08766c639d (diff) | |
download | hercules-8855528bcaa2c06cc7f23d53d63cbfdadd2f8fcf.tar.gz hercules-8855528bcaa2c06cc7f23d53d63cbfdadd2f8fcf.tar.bz2 hercules-8855528bcaa2c06cc7f23d53d63cbfdadd2f8fcf.tar.xz hercules-8855528bcaa2c06cc7f23d53d63cbfdadd2f8fcf.zip |
minor code tweaking
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11936 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char/char.c')
-rw-r--r-- | src/char/char.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/char/char.c b/src/char/char.c index c6cdf3f32..d91ebd1aa 100644 --- a/src/char/char.c +++ b/src/char/char.c @@ -412,7 +412,9 @@ static int char_db_kickoffline(DBKey key, void* data, va_list ap) mapif_disconnectplayer(server[character->server].fd, character->account_id, character->char_id, 1); else if (character->waiting_disconnect == -1) set_char_offline(character->char_id, character->account_id); - else return 0; + else + return 0; // fail + return 1; } |