summaryrefslogtreecommitdiff
path: root/src/net/ea/buysellhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-16 16:15:34 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-16 16:15:34 +0300
commitfe6a120ea38daaad39f6952a886c20269cfedca6 (patch)
tree4595d63a2ab9764873657182fbf2ab2b985474bf /src/net/ea/buysellhandler.cpp
parent6279b10249efa59b3161b014899465fe4bb08da4 (diff)
downloadmanaplus-fe6a120ea38daaad39f6952a886c20269cfedca6.tar.gz
manaplus-fe6a120ea38daaad39f6952a886c20269cfedca6.tar.bz2
manaplus-fe6a120ea38daaad39f6952a886c20269cfedca6.tar.xz
manaplus-fe6a120ea38daaad39f6952a886c20269cfedca6.zip
Move chatmsgtype into separate file.
Diffstat (limited to 'src/net/ea/buysellhandler.cpp')
-rw-r--r--src/net/ea/buysellhandler.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/ea/buysellhandler.cpp b/src/net/ea/buysellhandler.cpp
index 28ec4497e..47074d99c 100644
--- a/src/net/ea/buysellhandler.cpp
+++ b/src/net/ea/buysellhandler.cpp
@@ -68,7 +68,7 @@ void BuySellHandler::requestSellList(const std::string &nick) const
else
{
if (chatWindow)
- chatWindow->addWhisper(nick, data, BY_PLAYER);
+ chatWindow->addWhisper(nick, data, ChatMsgType::BY_PLAYER);
}
}
@@ -87,7 +87,7 @@ void BuySellHandler::requestBuyList(const std::string &nick) const
else
{
if (chatWindow)
- chatWindow->addWhisper(nick, data, BY_PLAYER);
+ chatWindow->addWhisper(nick, data, ChatMsgType::BY_PLAYER);
}
}
@@ -106,7 +106,7 @@ void BuySellHandler::sendBuyRequest(const std::string &nick,
if (config.getBoolValue("hideShopMessages"))
Net::getChatHandler()->privateMessage(nick, data);
else
- chatWindow->addWhisper(nick, data, BY_PLAYER);
+ chatWindow->addWhisper(nick, data, ChatMsgType::BY_PLAYER);
}
void BuySellHandler::sendSellRequest(const std::string &nick,
@@ -125,7 +125,7 @@ void BuySellHandler::sendSellRequest(const std::string &nick,
if (config.getBoolValue("hideShopMessages"))
Net::getChatHandler()->privateMessage(nick, data);
else
- chatWindow->addWhisper(nick, data, BY_PLAYER);
+ chatWindow->addWhisper(nick, data, ChatMsgType::BY_PLAYER);
}
void BuySellHandler::processNpcBuySellChoice(Net::MessageIn &msg)