summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-07-04 06:18:22 +0300
committerAndrei Karas <akaras@inbox.ru>2018-07-12 01:53:19 +0300
commitfa99b3612a8eadf8d54df47881ddfb7f67139d89 (patch)
treefd5d5dcf746e74b350130eae31ab4ccd3e8c6ba6 /src/login
parent2138c589e90090f4e7545a7e77f9ac9475170d8c (diff)
downloadhercules-fa99b3612a8eadf8d54df47881ddfb7f67139d89.tar.gz
hercules-fa99b3612a8eadf8d54df47881ddfb7f67139d89.tar.bz2
hercules-fa99b3612a8eadf8d54df47881ddfb7f67139d89.tar.xz
hercules-fa99b3612a8eadf8d54df47881ddfb7f67139d89.zip
Add new auth error packet for main and re packet versions.
Diffstat (limited to 'src/login')
-rw-r--r--src/login/lclif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/lclif.c b/src/login/lclif.c
index f8fd30105..48a9c6b94 100644
--- a/src/login/lclif.c
+++ b/src/login/lclif.c
@@ -311,7 +311,7 @@ static bool lclif_send_server_list(struct login_session_data *sd)
/// @copydoc lclif_interface::auth_failed()
static void lclif_send_auth_failed(int fd, time_t ban, uint32 error)
{
-#if PACKETVER_ZERO_NUM >= 20180627
+#if PACKETVER >= 20180627
struct packet_AC_REFUSE_LOGIN_R2 *packet = NULL;
int packet_id = PACKET_ID_AC_REFUSE_LOGIN_R3;
#elif PACKETVER >= 20101123