summaryrefslogtreecommitdiff
path: root/src/char_sql/char.c
diff options
context:
space:
mode:
authorwizputer <wizputer@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-03 02:29:00 +0000
committerwizputer <wizputer@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-03 02:29:00 +0000
commit4983c4ab7901b1b4c518355b47ec32520388a287 (patch)
treed4a280d2ab0bdde63c8d86a74efbfa288680b989 /src/char_sql/char.c
parent571fb052a6712e5cd387fe1705fae778f5af7cf3 (diff)
downloadhercules-4983c4ab7901b1b4c518355b47ec32520388a287.tar.gz
hercules-4983c4ab7901b1b4c518355b47ec32520388a287.tar.bz2
hercules-4983c4ab7901b1b4c518355b47ec32520388a287.tar.xz
hercules-4983c4ab7901b1b4c518355b47ec32520388a287.zip
* 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
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;