summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/chat/channeltab.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-13 00:19:04 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-13 00:19:04 +0300
commitd431a16b6e75232b664a67741898aa8179057c00 (patch)
tree92586a82f3d891227c3255ba37fe74e39394a516 /src/gui/widgets/tabs/chat/channeltab.cpp
parentc37ae6c52273c01f634a0635c5255319f385e7fb (diff)
downloadmv-d431a16b6e75232b664a67741898aa8179057c00.tar.gz
mv-d431a16b6e75232b664a67741898aa8179057c00.tar.bz2
mv-d431a16b6e75232b664a67741898aa8179057c00.tar.xz
mv-d431a16b6e75232b664a67741898aa8179057c00.zip
Add special method in charHandler to send message to channel.
Diffstat (limited to 'src/gui/widgets/tabs/chat/channeltab.cpp')
-rw-r--r--src/gui/widgets/tabs/chat/channeltab.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/tabs/chat/channeltab.cpp b/src/gui/widgets/tabs/chat/channeltab.cpp
index 6f7242578..cf8e2443f 100644
--- a/src/gui/widgets/tabs/chat/channeltab.cpp
+++ b/src/gui/widgets/tabs/chat/channeltab.cpp
@@ -50,7 +50,7 @@ void ChannelTab::handleInput(const std::string &msg)
{
std::string newMsg;
newMsg = ChatWindow::doReplace(msg);
- chatHandler->privateMessage(mChannelName, newMsg);
+ chatHandler->channelMessage(mChannelName, newMsg);
}
bool ChannelTab::handleCommand(const std::string &restrict type,