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/being/localplayer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/being') diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index a4faa0496..aa92cf6d7 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -2511,7 +2511,7 @@ void LocalPlayer::afkRespond(ChatTab *const tab, const std::string &nick) if (!tab) { - Net::getChatHandler()->privateMessage(nick, msg); + chatHandler->privateMessage(nick, msg); if (localChatTab) { localChatTab->chatLog(std::string(getName()).append( @@ -2522,7 +2522,7 @@ void LocalPlayer::afkRespond(ChatTab *const tab, const std::string &nick) { if (tab->getNoAway()) return; - Net::getChatHandler()->privateMessage(nick, msg); + chatHandler->privateMessage(nick, msg); tab->chatLog(getName(), msg); } mAfkTime = time; -- cgit v1.2.3-70-g09d2