summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog.txt1
-rw-r--r--src/char_sql/char.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/Changelog.txt b/Changelog.txt
index 34fdd401f..4b7126c96 100644
--- a/Changelog.txt
+++ b/Changelog.txt
@@ -1,5 +1,6 @@
Date Added
12/2
+ * Fixed double login feature, resets online users when map connects to char [Wizputer]
* Changed all LOGS inserts to INSERT DELAYED (MySQL has this feature and cache unimportant queries, then
executes them at once together = 10x faster) [Lupus]
* Skill Updates [celest]
diff --git a/src/char_sql/char.c b/src/char_sql/char.c
index d018390cb..d6f352213 100644
--- a/src/char_sql/char.c
+++ b/src/char_sql/char.c
@@ -1560,6 +1560,7 @@ int parse_frommap(int fd) {
printf("Map-Server %d connected: %d maps, from IP %d.%d.%d.%d port %d.\n",
id, j, p[0], p[1], p[2], p[3], server[id].port);
printf("Map-server %d loading complete.\n", id);
+ set_all_offline();
}
WFIFOW(fd,0) = 0x2afb;
WFIFOB(fd,2) = 0;