diff options
-rw-r--r-- | Changelog-Trunk.txt | 2 | ||||
-rw-r--r-- | src/char_sql/char.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index 3d6e74c75..7be3420c6 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -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.
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
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
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");
|