diff options
author | wizputer <wizputer@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-03 02:29:00 +0000 |
---|---|---|
committer | wizputer <wizputer@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-03 02:29:00 +0000 |
commit | 4983c4ab7901b1b4c518355b47ec32520388a287 (patch) | |
tree | d4a280d2ab0bdde63c8d86a74efbfa288680b989 | |
parent | 571fb052a6712e5cd387fe1705fae778f5af7cf3 (diff) | |
download | hercules-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
-rw-r--r-- | Changelog.txt | 1 | ||||
-rw-r--r-- | src/char_sql/char.c | 1 |
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; |