summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-17 00:55:22 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-17 00:55:22 +0300
commit3a7313c027407e3b35360a021c72fe78f181d81d (patch)
treebb313b81c7feb42c2a0b5855c1eca00ef2d7c1b1 /src/client.cpp
parent1307b14ff24f3935fa58aef405ffb246c0741336 (diff)
downloadmanaverse-3a7313c027407e3b35360a021c72fe78f181d81d.tar.gz
manaverse-3a7313c027407e3b35360a021c72fe78f181d81d.tar.bz2
manaverse-3a7313c027407e3b35360a021c72fe78f181d81d.tar.xz
manaverse-3a7313c027407e3b35360a021c72fe78f181d81d.zip
Remove getter for chatHandler.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 40466638c..8f0827d44 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -619,8 +619,8 @@ void Client::gameClear()
if (Net::getLoginHandler())
Net::getLoginHandler()->clearWorlds();
- if (Net::getChatHandler())
- Net::getChatHandler()->clear();
+ if (chatHandler)
+ chatHandler->clear();
delete2(ipc);