summaryrefslogtreecommitdiff
path: root/src/net/eathena/chathandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-14 17:50:47 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-14 17:52:25 +0300
commitafa7cdd59fe9a80479812eaad73a1eeea58bd5de (patch)
tree6d3371a66ee823bf116a4780439cfb4906959115 /src/net/eathena/chathandler.cpp
parent0381a0de69cc21c8886fb0a68cda450d3135d55a (diff)
downloadmv-afa7cdd59fe9a80479812eaad73a1eeea58bd5de.tar.gz
mv-afa7cdd59fe9a80479812eaad73a1eeea58bd5de.tar.bz2
mv-afa7cdd59fe9a80479812eaad73a1eeea58bd5de.tar.xz
mv-afa7cdd59fe9a80479812eaad73a1eeea58bd5de.zip
By requesting open #trade channel, really open trade tab.
Diffstat (limited to 'src/net/eathena/chathandler.cpp')
-rw-r--r--src/net/eathena/chathandler.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp
index 456bda0e5..3def53afd 100644
--- a/src/net/eathena/chathandler.cpp
+++ b/src/net/eathena/chathandler.cpp
@@ -194,10 +194,7 @@ void ChatHandler::privateMessage(const std::string &restrict recipient,
void ChatHandler::channelMessage(const std::string &restrict channel,
const std::string &restrict text)
{
- if (channel == TRADE_CHANNEL)
- talk("\302\202" + text, GENERAL_CHANNEL);
- else
- privateMessage(channel, text);
+ privateMessage(channel, text);
}
void ChatHandler::who() const