diff options
Diffstat (limited to 'src/net/ea')
-rw-r--r-- | src/net/ea/buysellhandler.cpp | 21 | ||||
-rw-r--r-- | src/net/ea/buysellhandler.h | 3 |
2 files changed, 0 insertions, 24 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) diff --git a/src/net/ea/buysellhandler.h b/src/net/ea/buysellhandler.h index 95fcbb204..946064277 100644 --- a/src/net/ea/buysellhandler.h +++ b/src/net/ea/buysellhandler.h @@ -37,9 +37,6 @@ class BuySellHandler notfinal : public Net::BuySellHandler A_DELETE_COPY(BuySellHandler) - virtual void requestSellList(const std::string &nick) - const override final; - virtual void requestBuyList(const std::string &nick) const override final; |