diff options
Diffstat (limited to 'src/chathandler.cpp')
-rw-r--r-- | src/chathandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chathandler.cpp b/src/chathandler.cpp index b6cd4f54..bd48a3d5 100644 --- a/src/chathandler.cpp +++ b/src/chathandler.cpp @@ -27,8 +27,8 @@ void ChatHandler::receiveMessage(NetComputer &computer, MessageIn &message) { - if (computer.getAccount() == NULL) - return; + if (computer.getCharacter() == NULL) + return; // character not selected switch (message.getId()) { |