summaryrefslogtreecommitdiff
path: root/src/chathandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/chathandler.cpp')
-rw-r--r--src/chathandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chathandler.cpp b/src/chathandler.cpp
index 33f0eb33..1a25ce57 100644
--- a/src/chathandler.cpp
+++ b/src/chathandler.cpp
@@ -27,7 +27,7 @@
void ChatHandler::receiveMessage(NetComputer &computer, MessageIn &message)
{
- if (computer.getCharacter() == NULL)
+ if (computer.getCharacter().get() == NULL)
return; // character not selected
switch (message.getId())