diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-10 23:53:16 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-10 23:53:16 +0000 |
commit | 58af0db03f21591ac753d7edad30fe1b494dc0ec (patch) | |
tree | 01cf15523d4972874ad99d74cc68b8c8da950f31 /src | |
parent | bd04c907de380951fee0588dc7c7482a2d2e19aa (diff) | |
download | hercules-58af0db03f21591ac753d7edad30fe1b494dc0ec.tar.gz hercules-58af0db03f21591ac753d7edad30fe1b494dc0ec.tar.bz2 hercules-58af0db03f21591ac753d7edad30fe1b494dc0ec.tar.xz hercules-58af0db03f21591ac753d7edad30fe1b494dc0ec.zip |
- Fixed check_connect_login_server check in char-sql server. Fixes char-server not reconnecting to the login server.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7605 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r-- | src/char_sql/char.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c index c5d248f71..15da747e5 100644 --- a/src/char_sql/char.c +++ b/src/char_sql/char.c @@ -3768,7 +3768,7 @@ int send_accounts_tologin(int tid, unsigned int tick, int id, int data) { }
int check_connect_login_server(int tid, unsigned int tick, int id, int data) {
- if (login_fd > 0 || session[login_fd] != NULL)
+ if (login_fd > 0 && session[login_fd] != NULL)
return 0;
ShowInfo("Attempt to connect to login-server...\n");
|