From cb953c324d886f480dacb41f632e4dc977945021 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 13 Oct 2014 18:46:33 +0300 Subject: eathena: fix owner for channel messages. --- src/net/eathena/chathandler.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/net/eathena/chathandler.cpp') diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp index 79571f012..4e2c9969c 100644 --- a/src/net/eathena/chathandler.cpp +++ b/src/net/eathena/chathandler.cpp @@ -379,7 +379,7 @@ void ChatHandler::processColorChat(Net::MessageIn &msg) } processChatContinue(msg.readRawString(chatMsgLength, "message"), - ChatMsgType::BY_SERVER); + ChatMsgType::BY_UNKNOWN); } std::string ChatHandler::extractChannelFromMessage(std::string &chatMsg, @@ -394,7 +394,6 @@ std::string ChatHandler::extractChannelFromMessage(std::string &chatMsg, { channel = std::string("#").append(msg.substr(0, idx)); chatMsg = msg.substr(idx + 3); - own = ChatMsgType::BY_OTHER; } } return channel; -- cgit v1.2.3-70-g09d2