Skip to content

Commit

Permalink
follow up to 9716233 (#2130)
Browse files Browse the repository at this point in the history
ZC_ACCEPT_ENTER2 will be used for client authentication again.

Used 2016-03-30 for now until the exact date is confirmed.

Credits to @4144 HerculesWS/Hercules@964268d

Thanks to @hazimjauhari90 for his pull request.
  • Loading branch information
Mikegyver authored and Lemongrass3110 committed May 21, 2017
1 parent 6a75b17 commit 39dbb9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/map/clif.c
Expand Up @@ -681,7 +681,7 @@ void clif_authok(struct map_session_data *sd)
{
#if PACKETVER < 20080102
const int cmd = 0x73;
#elif PACKETVER < 20141022
#elif PACKETVER < 20141022 || PACKETVER >= 20160330
const int cmd = 0x2eb;
#else
const int cmd = 0xa18;
Expand All @@ -697,7 +697,7 @@ void clif_authok(struct map_session_data *sd)
#if PACKETVER >= 20080102
WFIFOW(fd,11) = sd->status.font;
#endif
#if PACKETVER >= 20141016
#if PACKETVER >= 20141016 && PACKETVER < 20160330
WFIFOB(fd,13) = sd->status.sex;
#endif
WFIFOSET(fd,packet_len(cmd));
Expand Down

0 comments on commit 39dbb9a

Please sign in to comment.