summaryrefslogtreecommitdiff
path: root/src/char/char.c
diff options
context:
space:
mode:
authorDennis Friis <peavey@inspircd.org>2009-05-25 01:28:08 +0200
committerDennis Friis <peavey@inspircd.org>2009-05-25 05:34:53 +0200
commit08ec6afde6e040923cca9c1342fc3ce6ce3f5a79 (patch)
tree99767406259e668f78ad6a2d90ebb7a70f98a2b7 /src/char/char.c
parent531970eb617a2d2ff0e2b38666e02de23f8fae65 (diff)
downloadtmwa-08ec6afde6e040923cca9c1342fc3ce6ce3f5a79.tar.gz
tmwa-08ec6afde6e040923cca9c1342fc3ce6ce3f5a79.tar.bz2
tmwa-08ec6afde6e040923cca9c1342fc3ce6ce3f5a79.tar.xz
tmwa-08ec6afde6e040923cca9c1342fc3ce6ce3f5a79.zip
Take out account id from 0061, we already know this from the sender.
Diffstat (limited to 'src/char/char.c')
-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 206db5e..806e308 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -2455,8 +2455,8 @@ int parse_char(int fd) {
{
WFIFOW(login_fd,0) = 0x2740;
WFIFOL(login_fd,2) = sd->account_id;
- memcpy(WFIFOP(login_fd,6), RFIFOP(fd,6), 24);
- memcpy(WFIFOP(login_fd,30), RFIFOP(fd,30), 24);
+ memcpy(WFIFOP(login_fd,6), RFIFOP(fd,2), 24);
+ memcpy(WFIFOP(login_fd,30), RFIFOP(fd,26), 24);
WFIFOSET(login_fd,54);
}