summaryrefslogtreecommitdiff
path: root/src/net/eathena/chathandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-24 22:04:29 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-24 22:04:29 +0300
commit7ae8a11e0e99ab28730a8ca98388a6ec0ea1923e (patch)
tree6b440c246a9ed2c3d915c98f6b090a45673a2fb7 /src/net/eathena/chathandler.cpp
parent860d3e8e1bbe99b77763d533aebba9fde01e74c6 (diff)
downloadmv-7ae8a11e0e99ab28730a8ca98388a6ec0ea1923e.tar.gz
mv-7ae8a11e0e99ab28730a8ca98388a6ec0ea1923e.tar.bz2
mv-7ae8a11e0e99ab28730a8ca98388a6ec0ea1923e.tar.xz
mv-7ae8a11e0e99ab28730a8ca98388a6ec0ea1923e.zip
Add strong typed bool type TryRemoveColors.
Diffstat (limited to 'src/net/eathena/chathandler.cpp')
-rw-r--r--src/net/eathena/chathandler.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp
index 76603734c..9db670080 100644
--- a/src/net/eathena/chathandler.cpp
+++ b/src/net/eathena/chathandler.cpp
@@ -558,7 +558,7 @@ void ChatHandler::processChatContinue(std::string chatMsg,
own,
channel,
IgnoreRecord_false,
- true);
+ TryRemoveColors_true);
}
const size_t pos = chatMsg.find(" : ", 0);
@@ -641,7 +641,7 @@ void ChatHandler::processWhisperResponse(Net::MessageIn &msg)
"%s is not exists."), nick.c_str()),
ChatMsgType::BY_SERVER,
IgnoreRecord_false,
- false);
+ TryRemoveColors_false);
if (!mSentWhispers.empty())
mSentWhispers.pop();
return;
@@ -787,7 +787,7 @@ void ChatHandler::processJoinChannel(Net::MessageIn &msg)
"%s is not exists."), channel.c_str()),
ChatMsgType::BY_SERVER,
IgnoreRecord_false,
- false);
+ TryRemoveColors_false);
break;
case 1:
@@ -881,7 +881,7 @@ void ChatHandler::processBeingChat(Net::MessageIn &msg)
ChatMsgType::BY_OTHER,
GENERAL_CHANNEL,
IgnoreRecord_false,
- true);
+ TryRemoveColors_true);
}
if (allow && being && player_relations.hasPermission(sender_name,