diff options
author | Andrei Karas <akaras@inbox.ru> | 2020-04-07 01:32:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2020-05-04 01:00:42 +0300 |
commit | e9994dacad908d5d5114cd5341adf1891faea31f (patch) | |
tree | dd9bd05fcd412bd1903f8174372562a11a6efc45 /src/login | |
parent | a567830b477f8cbebbe64efde431a9f1bf870c86 (diff) | |
download | hercules-e9994dacad908d5d5114cd5341adf1891faea31f.tar.gz hercules-e9994dacad908d5d5114cd5341adf1891faea31f.tar.bz2 hercules-e9994dacad908d5d5114cd5341adf1891faea31f.tar.xz hercules-e9994dacad908d5d5114cd5341adf1891faea31f.zip |
Dont validate packet in login_char_server_connection_status
This will hide packet error on wrong password between login and char servers.
Diffstat (limited to 'src/login')
-rw-r--r-- | src/login/login.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/login/login.c b/src/login/login.c index 4201a8b4e..623457b8a 100644 --- a/src/login/login.c +++ b/src/login/login.c @@ -1406,10 +1406,10 @@ static void login_client_login_mobile_otp_request(int fd, struct login_session_d static void login_char_server_connection_status(int fd, struct login_session_data* sd, uint8 status) __attribute__((nonnull (2))); static void login_char_server_connection_status(int fd, struct login_session_data* sd, uint8 status) { - WFIFOHEAD(fd,3); - WFIFOW(fd,0) = 0x2711; - WFIFOB(fd,2) = status; - WFIFOSET(fd,3); + WFIFOHEAD(fd, 3); + WFIFOW(fd, 0) = 0x2711; + WFIFOB(fd, 2) = status; + WFIFOSET2(fd, 3); } // CA_CHARSERVERCONNECT |