- Fixed check_connect_login_server check in char-sql server. Fixes char-server not reconnecting to the login server.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7605 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
skotlex
2006-07-10 23:53:16 +00:00
parent ef4320d056
commit f88913a9f0
2 changed files with 3 additions and 1 deletions

View File

@@ -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");