diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-14 17:50:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-14 17:52:25 +0300 |
commit | afa7cdd59fe9a80479812eaad73a1eeea58bd5de (patch) | |
tree | 6d3371a66ee823bf116a4780439cfb4906959115 /src/net/eathena/chathandler.cpp | |
parent | 0381a0de69cc21c8886fb0a68cda450d3135d55a (diff) | |
download | manaplus-afa7cdd59fe9a80479812eaad73a1eeea58bd5de.tar.gz manaplus-afa7cdd59fe9a80479812eaad73a1eeea58bd5de.tar.bz2 manaplus-afa7cdd59fe9a80479812eaad73a1eeea58bd5de.tar.xz manaplus-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.cpp | 5 |
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 |