summaryrefslogtreecommitdiff
path: root/src/char
diff options
context:
space:
mode:
authorDennis Friis <peavey@inspircd.org>2009-05-25 01:54:19 +0200
committerDennis Friis <peavey@inspircd.org>2009-05-25 05:34:53 +0200
commit91d83b634f48fef3abe92102fee455654f9adf3e (patch)
tree90f0647e056b7cc00e792ea3dc8a7afa4b51a8b4 /src/char
parent08ec6afde6e040923cca9c1342fc3ce6ce3f5a79 (diff)
downloadtmwa-91d83b634f48fef3abe92102fee455654f9adf3e.tar.gz
tmwa-91d83b634f48fef3abe92102fee455654f9adf3e.tar.bz2
tmwa-91d83b634f48fef3abe92102fee455654f9adf3e.tar.xz
tmwa-91d83b634f48fef3abe92102fee455654f9adf3e.zip
Forgot to adjust to new packet size.
Diffstat (limited to 'src/char')
-rw-r--r--src/char/char.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/char/char.c b/src/char/char.c
index 806e308..718537f 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -2450,7 +2450,7 @@ int parse_char(int fd) {
break;
case 0x61: // change password request
- if (RFIFOREST(fd) < 54)
+ if (RFIFOREST(fd) < 50)
return 0;
{
WFIFOW(login_fd,0) = 0x2740;
@@ -2460,7 +2460,7 @@ int parse_char(int fd) {
WFIFOSET(login_fd,54);
}
- RFIFOSKIP(fd,54);
+ RFIFOSKIP(fd,50);
break;
case 0x65: // Ú‘±—v‹