summaryrefslogtreecommitdiff
path: root/src/being/localplayer.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/being/localplayer.cpp
parent1307b14ff24f3935fa58aef405ffb246c0741336 (diff)
downloadmv-3a7313c027407e3b35360a021c72fe78f181d81d.tar.gz
mv-3a7313c027407e3b35360a021c72fe78f181d81d.tar.bz2
mv-3a7313c027407e3b35360a021c72fe78f181d81d.tar.xz
mv-3a7313c027407e3b35360a021c72fe78f181d81d.zip
Remove getter for chatHandler.
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r--src/being/localplayer.cpp4
1 files changed, 2 insertions, 2 deletions
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;