summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-13 18:46:33 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-13 18:46:33 +0300
commitcb953c324d886f480dacb41f632e4dc977945021 (patch)
treed594fd5f505e5807e2047c85ee8c81220eccaab5 /src/net
parentae33dbfa0cdf7464786e65b8015481e85c31244d (diff)
downloadmanaplus-cb953c324d886f480dacb41f632e4dc977945021.tar.gz
manaplus-cb953c324d886f480dacb41f632e4dc977945021.tar.bz2
manaplus-cb953c324d886f480dacb41f632e4dc977945021.tar.xz
manaplus-cb953c324d886f480dacb41f632e4dc977945021.zip
eathena: fix owner for channel messages.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/chathandler.cpp3
1 files changed, 1 insertions, 2 deletions
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;