From e11badbebd078be3437a06a1fb72a7f01c3afd5c Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Tue, 5 Aug 2014 11:58:56 -0700 Subject: Emergency security fix for deleting characters --- src/char/char.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/char/char.cpp') diff --git a/src/char/char.cpp b/src/char/char.cpp index 8a3397d..f8e12c0 100644 --- a/src/char/char.cpp +++ b/src/char/char.cpp @@ -2410,7 +2410,8 @@ void parse_char(Session *s) { if (cd.key.char_id == RFIFOL(s, 2)) { - cs = &cd; + if (cd.key.account_id == sd->account_id) + cs = &cd; break; } } -- cgit v1.2.3-70-g09d2