From 58af0db03f21591ac753d7edad30fe1b494dc0ec Mon Sep 17 00:00:00 2001 From: skotlex Date: Mon, 10 Jul 2006 23:53:16 +0000 Subject: - 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 --- src/char_sql/char.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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"); -- cgit v1.2.3-70-g09d2