summaryrefslogtreecommitdiff
path: root/src/char
diff options
context:
space:
mode:
Diffstat (limited to 'src/char')
-rw-r--r--src/char/char.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/char/char.cpp b/src/char/char.cpp
index 1e31af9..b9cf17b 100644
--- a/src/char/char.cpp
+++ b/src/char/char.cpp
@@ -2673,7 +2673,8 @@ void parse_char(Session *s)
{
if (cd.key.char_id == cid)
{
- cs = &cd;
+ if (cd.key.account_id == sd->account_id)
+ cs = &cd;
break;
}
}