summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-30 01:11:50 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-30 01:11:50 +0300
commitb42cc5c01d3bdd274d9b9e90aad574d865c4e67a (patch)
treea88981f53929b4608b6110fd266aebbc311ccbcc /src/net/eathena
parent2e07a7af24cf8a2928ab6a3431ab5b01b29969bb (diff)
downloadmanaverse-b42cc5c01d3bdd274d9b9e90aad574d865c4e67a.tar.gz
manaverse-b42cc5c01d3bdd274d9b9e90aad574d865c4e67a.tar.bz2
manaverse-b42cc5c01d3bdd274d9b9e90aad574d865c4e67a.tar.xz
manaverse-b42cc5c01d3bdd274d9b9e90aad574d865c4e67a.zip
Convert ChatMsgType enum into strong typed enum.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/chathandler.cpp2
-rw-r--r--src/net/eathena/chathandler.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp
index d31afa3c9..3cade553c 100644
--- a/src/net/eathena/chathandler.cpp
+++ b/src/net/eathena/chathandler.cpp
@@ -548,7 +548,7 @@ std::string ChatHandler::extractChannelFromMessage(std::string &chatMsg)
}
void ChatHandler::processChatContinue(std::string chatMsg,
- ChatMsgType::Type own)
+ ChatMsgTypeT own)
{
const std::string channel = extractChannelFromMessage(chatMsg);
bool allow(true);
diff --git a/src/net/eathena/chathandler.h b/src/net/eathena/chathandler.h
index c0807c37a..a1a86f20e 100644
--- a/src/net/eathena/chathandler.h
+++ b/src/net/eathena/chathandler.h
@@ -106,7 +106,7 @@ class ChatHandler final : public MessageHandler, public Ea::ChatHandler
static void processColorChat(Net::MessageIn &msg);
static void processChatContinue(std::string chatMsg,
- ChatMsgType::Type own);
+ ChatMsgTypeT own);
static void processWhisper(Net::MessageIn &msg);