From d93e795a85b8362c5971c23eeac2a48a3cae104b Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Sun, 28 Apr 2013 21:28:16 -0700 Subject: Fix some oversized writes --- src/login/login.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/login/login.cpp') diff --git a/src/login/login.cpp b/src/login/login.cpp index 356a607..e07b7cb 100644 --- a/src/login/login.cpp +++ b/src/login/login.cpp @@ -3093,7 +3093,7 @@ void parse_login(int fd) min_level_to_connect, account.userid, gm_level, ip); WFIFOW(fd, 0) = 0x81; - WFIFOL(fd, 2) = 1; // 01 = Server closed + WFIFOB(fd, 2) = 1; // 01 = Server closed WFIFOSET(fd, 3); } else @@ -3189,7 +3189,7 @@ void parse_login(int fd) LOGIN_LOG("Connection refused: there is no char-server online (account: %s, ip: %s).\n", account.userid, ip); WFIFOW(fd, 0) = 0x81; - WFIFOL(fd, 2) = 1; // 01 = Server closed + WFIFOB(fd, 2) = 1; // 01 = Server closed WFIFOSET(fd, 3); } } -- cgit v1.2.3-60-g2f50