summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/login/login.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/login.c b/src/login/login.c
index 797fbd0b6..4ecdd2b80 100644
--- a/src/login/login.c
+++ b/src/login/login.c
@@ -3088,7 +3088,7 @@ int parse_login(int fd) {
WFIFOHEAD(fd, 23);
WFIFOW(fd,0) = 0x6a;
WFIFOB(fd,2) = 3; // 3 = Rejected from Server
- WFIFOSET(fd,3);
+ WFIFOSET(fd,23);
RFIFOSKIP(fd,(RFIFOW(fd,0) == 0x64) ? 55 : 47);
break;
}