summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-14 13:48:25 +0000
committertoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-14 13:48:25 +0000
commit812dcc999c3e7d5c95233e76c45af2882b3fa11f (patch)
treecab24cb7785d30b852533ffa943c100f2c143223 /src
parent46207d612a552e254b39a0d2dfbba67c477d59d6 (diff)
downloadhercules-812dcc999c3e7d5c95233e76c45af2882b3fa11f.tar.gz
hercules-812dcc999c3e7d5c95233e76c45af2882b3fa11f.tar.bz2
hercules-812dcc999c3e7d5c95233e76c45af2882b3fa11f.tar.xz
hercules-812dcc999c3e7d5c95233e76c45af2882b3fa11f.zip
Fixed a bug in the disconnection part char-server (not sending you offline)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12590 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/char_sql/char.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c
index 87f558066..f731166ae 100644
--- a/src/char_sql/char.c
+++ b/src/char_sql/char.c
@@ -297,7 +297,7 @@ void set_char_offline(int char_id, int account_id)
}
}
- if (login_fd > 0 && !session[login_fd]->flag.eof && (character->fd != -1 && character->char_id != -1))
+ if (login_fd > 0 && !session[login_fd]->flag.eof && character->char_id != -1)
{
WFIFOHEAD(login_fd,6);
WFIFOW(login_fd,0) = 0x272c;