summaryrefslogtreecommitdiff
path: root/src/char/char.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/char/char.c')
-rw-r--r--src/char/char.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/char/char.c b/src/char/char.c
index f2d4b33d2..cdef7bc8b 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -1958,7 +1958,16 @@ 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;
return 0;
}