diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-14 17:27:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-14 17:27:52 +0300 |
commit | 0381a0de69cc21c8886fb0a68cda450d3135d55a (patch) | |
tree | 7c9883d4043b925b9148715664b621876c680d20 /src/gui/windows/shopwindow.cpp | |
parent | ecac984465f2a9f51940515abdf7552e5c6341a1 (diff) | |
download | plus-0381a0de69cc21c8886fb0a68cda450d3135d55a.tar.gz plus-0381a0de69cc21c8886fb0a68cda450d3135d55a.tar.bz2 plus-0381a0de69cc21c8886fb0a68cda450d3135d55a.tar.xz plus-0381a0de69cc21c8886fb0a68cda450d3135d55a.zip |
For trade tab use channel to send messages.
Diffstat (limited to 'src/gui/windows/shopwindow.cpp')
-rw-r--r-- | src/gui/windows/shopwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/shopwindow.cpp b/src/gui/windows/shopwindow.cpp index 4d8e4f000..2ba34e861 100644 --- a/src/gui/windows/shopwindow.cpp +++ b/src/gui/windows/shopwindow.cpp @@ -481,7 +481,7 @@ void ShopWindow::announce(ShopItems *const list, const int mode) if (!list) return; - std::string data("\302\202"); + std::string data; if (mode == BUY) data.append("Buy "); else @@ -534,7 +534,7 @@ void ShopWindow::announce(ShopItems *const list, const int mode) } } - chatHandler->talk(data, GENERAL_CHANNEL); + chatHandler->channelMessage(TRADE_CHANNEL, data); } void ShopWindow::giveList(const std::string &nick, const int mode) |