diff options
-rw-r--r-- | Changelog-Trunk.txt | 3 | ||||
-rw-r--r-- | src/map/chrif.c | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index da15dde19..3afb89c1a 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -4,6 +4,9 @@ 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/05/27
+ * Map server will now resent the whole list of online characters to
+ char-server on reconnect when the kick_on_disconnect setting is active.
+ [Skotlex]
* Cleaned up and optimized the IP sync code. New login_athena config
setting sync_ip_interval specifies how often to sync the ip. The default is
0 (disabled). [Skotlex]
diff --git a/src/map/chrif.c b/src/map/chrif.c index 34279bb52..f6f20b2cc 100644 --- a/src/map/chrif.c +++ b/src/map/chrif.c @@ -412,6 +412,10 @@ int chrif_sendmapack(int fd) ShowStatus("Map sending complete. Map Server is now online.\n");
chrif_state = 2;
+ //If there are players online, send them to the char-server. [Skotlex]
+ if (!kick_on_disconnect)
+ send_users_tochar(-1, gettick(), 0, 0);
+
//Re-save any storages that were modified in the disconnection time. [Skotlex]
do_reconnect_storage();
|