summaryrefslogtreecommitdiff
path: root/src/net/ea/buysellhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-01 17:59:15 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-01 17:59:15 +0300
commitc735249c6bc90c0e723c42e7c5b1276579609ec9 (patch)
tree631089153777345ec85b2c36c4da6a4777ee6fe8 /src/net/ea/buysellhandler.cpp
parent4f9bf0141d5b96372eec33a545ba546a9622426c (diff)
downloadmv-c735249c6bc90c0e723c42e7c5b1276579609ec9.tar.gz
mv-c735249c6bc90c0e723c42e7c5b1276579609ec9.tar.bz2
mv-c735249c6bc90c0e723c42e7c5b1276579609ec9.tar.xz
mv-c735249c6bc90c0e723c42e7c5b1276579609ec9.zip
Move requestSellList from ea namespace into eathena and tmwa.
Diffstat (limited to 'src/net/ea/buysellhandler.cpp')
-rw-r--r--src/net/ea/buysellhandler.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/net/ea/buysellhandler.cpp b/src/net/ea/buysellhandler.cpp
index 7d33492ce..e5403b270 100644
--- a/src/net/ea/buysellhandler.cpp
+++ b/src/net/ea/buysellhandler.cpp
@@ -59,27 +59,6 @@ BuySellHandler::BuySellHandler()
mBuyDialog = nullptr;
}
-void BuySellHandler::requestSellList(const std::string &nick) const
-{
- if (nick.empty() != 0 || !shopWindow)
- return;
-
- const std::string data("!selllist " + toString(tick_time));
-// +++ need move to tmwa
-#ifdef TMWA_SUPPORT
- shopWindow->setAcceptPlayer(nick);
-#endif
- if (config.getBoolValue("hideShopMessages"))
- {
- chatHandler->privateMessage(nick, data);
- }
- else
- {
- if (chatWindow)
- chatWindow->addWhisper(nick, data, ChatMsgType::BY_PLAYER);
- }
-}
-
void BuySellHandler::requestBuyList(const std::string &nick) const
{
if (nick.empty() || !shopWindow)