summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/char/char.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/char/char.c b/src/char/char.c
index 366fd8f..f7cb491 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -1487,10 +1487,10 @@ static int char_delete(struct mmo_charstatus *cs) {
if (cs->partner_id)
char_divorce(cs);
- // Fake account deletion to kick all active chars on the account (closes a loophole that allows chars to exist on a map server after being deleted)
+ // Force the character (and all on the same account) to leave all map servers
{
unsigned char buf[6];
- WBUFW(buf,0) = 0x2b13;
+ WBUFW(buf,0) = 0x2afe;
WBUFL(buf,2) = cs->account_id;
mapif_sendall(buf, 6);
}