From 582ca3b9024277fa845aa7d5fd180b9c304b3513 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 1 Mar 2015 18:03:03 +0300 Subject: Move requestBuyList from ea namespace into eathena and tmwa. --- src/net/ea/buysellhandler.cpp | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'src/net/ea/buysellhandler.cpp') diff --git a/src/net/ea/buysellhandler.cpp b/src/net/ea/buysellhandler.cpp index e5403b270..990ec8716 100644 --- a/src/net/ea/buysellhandler.cpp +++ b/src/net/ea/buysellhandler.cpp @@ -59,28 +59,6 @@ BuySellHandler::BuySellHandler() mBuyDialog = nullptr; } -void BuySellHandler::requestBuyList(const std::string &nick) const -{ - if (nick.empty() || !shopWindow) - return; - - const std::string data("!buylist " + 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::sendBuyRequest(const std::string &nick, const ShopItem *const item, const int amount) const -- cgit v1.2.3-60-g2f50