From 071ec67ad18431d197332a4a7e13368e60a834e2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 13 Oct 2014 20:33:39 +0300 Subject: Fix compilation warnings. --- src/net/eathena/chathandler.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/net/eathena/chathandler.cpp') diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp index 0a5029b6e..d16692cf5 100644 --- a/src/net/eathena/chathandler.cpp +++ b/src/net/eathena/chathandler.cpp @@ -406,8 +406,7 @@ void ChatHandler::processColorChat(Net::MessageIn &msg) processChatContinue(message, ChatMsgType::BY_UNKNOWN); } -std::string ChatHandler::extractChannelFromMessage(std::string &chatMsg, - ChatMsgType::Type &own) +std::string ChatHandler::extractChannelFromMessage(std::string &chatMsg) { std::string msg = chatMsg; std::string channel(GENERAL_CHANNEL); @@ -425,7 +424,7 @@ std::string ChatHandler::extractChannelFromMessage(std::string &chatMsg, void ChatHandler::processChatContinue(std::string chatMsg, ChatMsgType::Type own) { - const std::string channel = extractChannelFromMessage(chatMsg, own); + const std::string channel = extractChannelFromMessage(chatMsg); bool allow(true); if (chatWindow) { -- cgit v1.2.3-60-g2f50