diff options
Diffstat (limited to 'src/login/login.c')
-rw-r--r-- | src/login/login.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/login/login.c b/src/login/login.c index cf66d10ed..b15ab5f1e 100644 --- a/src/login/login.c +++ b/src/login/login.c @@ -1952,7 +1952,6 @@ int parse_fromchar(int fd) { WFIFOSET(fd,WFIFOW(fd,2));
}
break;
-
case 0x2736: // WAN IP update from char-server
if (RFIFOREST(fd) < 6)
return 0;
@@ -1963,6 +1962,12 @@ int parse_fromchar(int fd) { RFIFOSKIP(fd,6);
break;
+ case 0x2737: //Request to set all offline.
+ ShowInfo("Setting accounts from char-server %d offline.\n", id);
+ online_db->foreach(online_db,online_db_setoffline,id);
+ RFIFOSKIP(fd,2);
+ break;
+
case 0x3000: //change sex for chrif_changesex()
if (RFIFOREST(fd) < 4 || RFIFOREST(fd) < RFIFOW(fd,2))
return 0;
|