diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-17 00:55:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-17 00:55:22 +0300 |
commit | 3a7313c027407e3b35360a021c72fe78f181d81d (patch) | |
tree | bb313b81c7feb42c2a0b5855c1eca00ef2d7c1b1 /src/gui/windows/chatwindow.cpp | |
parent | 1307b14ff24f3935fa58aef405ffb246c0741336 (diff) | |
download | manaverse-3a7313c027407e3b35360a021c72fe78f181d81d.tar.gz manaverse-3a7313c027407e3b35360a021c72fe78f181d81d.tar.bz2 manaverse-3a7313c027407e3b35360a021c72fe78f181d81d.tar.xz manaverse-3a7313c027407e3b35360a021c72fe78f181d81d.zip |
Remove getter for chatHandler.
Diffstat (limited to 'src/gui/windows/chatwindow.cpp')
-rw-r--r-- | src/gui/windows/chatwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp index 9644b5a7c..318c89332 100644 --- a/src/gui/windows/chatwindow.cpp +++ b/src/gui/windows/chatwindow.cpp @@ -1074,7 +1074,7 @@ void ChatWindow::addWhisper(const std::string &restrict nick, { if (own == ChatMsgType::BY_PLAYER) { - Net::getChatHandler()->privateMessage(nick, mes); + chatHandler->privateMessage(nick, mes); // TRANSLATORS: chat message localChatTab->chatLog(strprintf(_("Whispering to %s: %s"), |