diff options
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; } |