summaryrefslogtreecommitdiff
path: root/src/char_sql/char.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/char_sql/char.c')
-rw-r--r--src/char_sql/char.c1
1 files changed, 1 insertions, 0 deletions
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;