diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-13 18:00:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-13 18:00:24 +0300 |
commit | 2df278161c10f5261c3075592afd4245a71be89e (patch) | |
tree | 12864a7985080b7ef6a96818a895134c552de73d /src/net/eathena/chathandler.h | |
parent | 84e2c79004f42656660a32f4b54277954f7ec631 (diff) | |
download | plus-2df278161c10f5261c3075592afd4245a71be89e.tar.gz plus-2df278161c10f5261c3075592afd4245a71be89e.tar.bz2 plus-2df278161c10f5261c3075592afd4245a71be89e.tar.xz plus-2df278161c10f5261c3075592afd4245a71be89e.zip |
eathena: fix chat message owner type.
Diffstat (limited to 'src/net/eathena/chathandler.h')
-rw-r--r-- | src/net/eathena/chathandler.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/net/eathena/chathandler.h b/src/net/eathena/chathandler.h index 86eeb1386..93cb77935 100644 --- a/src/net/eathena/chathandler.h +++ b/src/net/eathena/chathandler.h @@ -25,6 +25,8 @@ #include "net/ea/chathandler.h" +#include "gui/chatmsgtype.h" + #include "net/eathena/messagehandler.h" namespace EAthena @@ -81,13 +83,14 @@ class ChatHandler final : public MessageHandler, public Ea::ChatHandler const std::string &password) const override final; protected: - static std::string extractChannelFromMessage(std::string &chatMsg); + static std::string extractChannelFromMessage(std::string &chatMsg, + ChatMsgType::Type &own); void processChat(Net::MessageIn &msg); void processColorChat(Net::MessageIn &msg); - void processChatContinue(std::string chatMsg); + void processChatContinue(std::string chatMsg, ChatMsgType::Type own); void processWhisper(Net::MessageIn &msg) const; |