summaryrefslogtreecommitdiff
path: root/src/ladmin
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-08-13 10:41:07 -0700
committerBen Longbons <b.r.longbons@gmail.com>2013-08-13 10:41:07 -0700
commitbacbb5115402139a1c14b09041ffb9bf2470bfc6 (patch)
treeaf16d01c20a2f16c6120cf8c6988284ca97eeda4 /src/ladmin
parent8824cc2171a022a40aefa2be03d59d8fc073ffa1 (diff)
downloadtmwa-bacbb5115402139a1c14b09041ffb9bf2470bfc6.tar.gz
tmwa-bacbb5115402139a1c14b09041ffb9bf2470bfc6.tar.bz2
tmwa-bacbb5115402139a1c14b09041ffb9bf2470bfc6.tar.xz
tmwa-bacbb5115402139a1c14b09041ffb9bf2470bfc6.zip
Fix offset bug in relative time modifiers
Diffstat (limited to 'src/ladmin')
-rw-r--r--src/ladmin/ladmin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ladmin/ladmin.cpp b/src/ladmin/ladmin.cpp
index 1b5d7b7..d3cfe3b 100644
--- a/src/ladmin/ladmin.cpp
+++ b/src/ladmin/ladmin.cpp
@@ -739,7 +739,7 @@ void banaddaccount(ZString param)
WFIFOW(login_fd, 0) = 0x794c;
WFIFO_STRING(login_fd, 2, name, 24);
- WFIFO_STRUCT(login_fd, 24, modif);
+ WFIFO_STRUCT(login_fd, 26, modif);
WFIFOSET(login_fd, 38);
bytes_to_read = 1;
}