From b42cc5c01d3bdd274d9b9e90aad574d865c4e67a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 30 May 2015 01:11:50 +0300 Subject: Convert ChatMsgType enum into strong typed enum. --- src/net/eathena/chathandler.cpp | 2 +- src/net/eathena/chathandler.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/eathena') 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); -- cgit v1.2.3-70-g09d2