summaryrefslogtreecommitdiff
path: root/src/login/login.cpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-04-27 12:30:23 -0700
committerBen Longbons <b.r.longbons@gmail.com>2013-04-27 14:09:23 -0700
commit55020ef3585d52bc2db5792568e61927640a5eab (patch)
tree73a967bd47303aab85b2a3acbd93ec05b8c61138 /src/login/login.cpp
parent7a9cee6ac24f5cfaaa73c97e5fef733eadba09ad (diff)
downloadtmwa-55020ef3585d52bc2db5792568e61927640a5eab.tar.gz
tmwa-55020ef3585d52bc2db5792568e61927640a5eab.tar.bz2
tmwa-55020ef3585d52bc2db5792568e61927640a5eab.tar.xz
tmwa-55020ef3585d52bc2db5792568e61927640a5eab.zip
Fix size of packet sent on IP bans
Also fixed in eAthena r5860.
Diffstat (limited to 'src/login/login.cpp')
-rw-r--r--src/login/login.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/login/login.cpp b/src/login/login.cpp
index fea673e..356a607 100644
--- a/src/login/login.cpp
+++ b/src/login/login.cpp
@@ -3070,7 +3070,8 @@ void parse_login(int fd)
ip);
WFIFOW(fd, 0) = 0x6a;
WFIFOB(fd, 2) = 0x03;
- WFIFOSET(fd, 3);
+ memset(WFIFOP(fd, 3), '\0', 20);
+ WFIFOSET(fd, 23);
RFIFOSKIP(fd, 55);
break;
}