From 4983c4ab7901b1b4c518355b47ec32520388a287 Mon Sep 17 00:00:00 2001 From: wizputer Date: Fri, 3 Dec 2004 02:29:00 +0000 Subject: * Fixed double login feature, resets online users when map connects to char [Wizputer] git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@439 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/char_sql/char.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/char_sql') 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; -- cgit v1.2.3-70-g09d2