summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/whispertab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/tabs/whispertab.cpp')
-rw-r--r--src/gui/widgets/tabs/whispertab.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/tabs/whispertab.cpp b/src/gui/widgets/tabs/whispertab.cpp
index a67b9450c..6c89a887b 100644
--- a/src/gui/widgets/tabs/whispertab.cpp
+++ b/src/gui/widgets/tabs/whispertab.cpp
@@ -53,7 +53,7 @@ void WhisperTab::handleInput(const std::string &msg)
{
std::string newMsg;
newMsg = ChatWindow::doReplace(msg);
- Net::getChatHandler()->privateMessage(mNick, newMsg);
+ chatHandler->privateMessage(mNick, newMsg);
if (localPlayer)
chatLog(localPlayer->getName(), newMsg);
@@ -77,7 +77,7 @@ void WhisperTab::handleCommand(const std::string &msg)
if (type == "me")
{
std::string str = strprintf("*%s*", args.c_str());
- Net::getChatHandler()->privateMessage(mNick, str);
+ chatHandler->privateMessage(mNick, str);
if (localPlayer)
chatLog(localPlayer->getName(), str);
else