summaryrefslogtreecommitdiff
path: root/src/gui/windows/shopwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/shopwindow.cpp')
-rw-r--r--src/gui/windows/shopwindow.cpp4
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)