summaryrefslogtreecommitdiff
path: root/src/char_sql/char.c
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-10-03 16:30:41 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-10-03 16:30:41 +0000
commit7d4c817f696f68310adf7f13647355adb8ef12b3 (patch)
tree7d1e019e98d11a14968c2c62d8f74ae7d11d9495 /src/char_sql/char.c
parent9619ffe37c2f97e79cbeac33f11064459524153e (diff)
downloadhercules-7d4c817f696f68310adf7f13647355adb8ef12b3.tar.gz
hercules-7d4c817f696f68310adf7f13647355adb8ef12b3.tar.bz2
hercules-7d4c817f696f68310adf7f13647355adb8ef12b3.tar.xz
hercules-7d4c817f696f68310adf7f13647355adb8ef12b3.zip
* Fix for "yet another online check bypass technique". (bugreport:2292)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13256 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql/char.c')
-rw-r--r--src/char_sql/char.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c
index 93a7563d2..bc934216a 100644
--- a/src/char_sql/char.c
+++ b/src/char_sql/char.c
@@ -1904,10 +1904,11 @@ int parse_fromlogin(int fd)
WFIFOSET(i,3);
set_eof(i);
}
- else //Shouldn't happen, but just in case.
+ else // still moving to the map-server
set_char_offline(-1, aid);
}
}
+ idb_remove(auth_db, aid);// reject auth attempts from map-server
}
break;