- 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

@ -4,6 +4,8 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/07/10 2006/07/10
* Fixed check_connect_login_server check in char-sql server. Fixes
char-server not reconnecting to the login server. [Skotlex]
* Login-sql server will no longer change an account's state to "7" when * Login-sql server will no longer change an account's state to "7" when
banning a player. This should fix being able to use @ban to clear out a banning a player. This should fix being able to use @ban to clear out a
@blocked player. Players will now be identified as banned only through the @blocked player. Players will now be identified as banned only through the

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) { 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; return 0;
ShowInfo("Attempt to connect to login-server...\n"); ShowInfo("Attempt to connect to login-server...\n");