diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/char/char.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/char/char.c b/src/char/char.c index cdef7bc8b..6aaae27b0 100644 --- a/src/char/char.c +++ b/src/char/char.c @@ -1696,6 +1696,14 @@ int parse_tologin(int fd) { RFIFOSKIP(fd,50); break; + // login-server alive packet + case 0x2718: + if (RFIFOREST(fd) < 2) + return 0; + // do whatever it's supposed to do here? + RFIFOSKIP(fd,2); + break; + case 0x2721: // gm reply if (RFIFOREST(fd) < 10) return 0; @@ -1958,14 +1966,6 @@ int parse_tologin(int fd) { RFIFOSKIP(fd,RFIFOW(fd,2)); break; - // login-server alive packet - case 0x2718: - if (RFIFOREST(fd) < 2) - return 0; - // do whatever it's supposed to do here - RFIFOSKIP(fd,2); - break; - default: printf("parse_tologin: unknown packet %x! \n", RFIFOW(fd,0)); session[fd]->eof = 1; |