From 3a7313c027407e3b35360a021c72fe78f181d81d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 17 Sep 2014 00:55:22 +0300 Subject: Remove getter for chatHandler. --- src/client.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client.cpp') 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); -- cgit v1.2.3-70-g09d2