summaryrefslogtreecommitdiff
path: root/src/login/login.c
diff options
context:
space:
mode:
authorshinomori <shinomori@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-04-03 15:53:04 +0000
committershinomori <shinomori@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-04-03 15:53:04 +0000
commit74362c7e51463fdc5008ea0ba9ebfb56b2e0994a (patch)
tree0027e5d34aa90fcf04a7a77111f2be4cc8ef4a18 /src/login/login.c
parent922830421a2ac8c3ffa21fa64479801207a0bde0 (diff)
downloadhercules-74362c7e51463fdc5008ea0ba9ebfb56b2e0994a.tar.gz
hercules-74362c7e51463fdc5008ea0ba9ebfb56b2e0994a.tar.bz2
hercules-74362c7e51463fdc5008ea0ba9ebfb56b2e0994a.tar.xz
hercules-74362c7e51463fdc5008ea0ba9ebfb56b2e0994a.zip
integrating anti freeze system to server status update, should cure dropping server connections [Shinomori]
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1389 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/login/login.c')
-rw-r--r--src/login/login.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/login/login.c b/src/login/login.c
index 09c8cc606..d9858065e 100644
--- a/src/login/login.c
+++ b/src/login/login.c
@@ -1394,6 +1394,11 @@ int parse_fromchar(int fd) {
server[id].users = RFIFOL(fd,2);
if(anti_freeze_enable)
server_freezeflag[id] = 5; // Char anti-freeze system. Counter. 5 ok, 4...0 freezed
+
+ // send some answer
+ WFIFOW(fd,0) = 0x2718;
+ WFIFOSET(fd,2);
+
RFIFOSKIP(fd,6);
break;