diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-30 01:11:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-30 01:11:50 +0300 |
commit | b42cc5c01d3bdd274d9b9e90aad574d865c4e67a (patch) | |
tree | a88981f53929b4608b6110fd266aebbc311ccbcc /src/net/eathena | |
parent | 2e07a7af24cf8a2928ab6a3431ab5b01b29969bb (diff) | |
download | mv-b42cc5c01d3bdd274d9b9e90aad574d865c4e67a.tar.gz mv-b42cc5c01d3bdd274d9b9e90aad574d865c4e67a.tar.bz2 mv-b42cc5c01d3bdd274d9b9e90aad574d865c4e67a.tar.xz mv-b42cc5c01d3bdd274d9b9e90aad574d865c4e67a.zip |
Convert ChatMsgType enum into strong typed enum.
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/chathandler.cpp | 2 | ||||
-rw-r--r-- | src/net/eathena/chathandler.h | 2 |
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); |