summaryrefslogtreecommitdiff
path: root/src/net/tmwa
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/tmwa
parent860d3e8e1bbe99b77763d533aebba9fde01e74c6 (diff)
downloadplus-7ae8a11e0e99ab28730a8ca98388a6ec0ea1923e.tar.gz
plus-7ae8a11e0e99ab28730a8ca98388a6ec0ea1923e.tar.bz2
plus-7ae8a11e0e99ab28730a8ca98388a6ec0ea1923e.tar.xz
plus-7ae8a11e0e99ab28730a8ca98388a6ec0ea1923e.zip
Add strong typed bool type TryRemoveColors.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/chathandler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/tmwa/chathandler.cpp b/src/net/tmwa/chathandler.cpp
index be04b2964..98f6b2c18 100644
--- a/src/net/tmwa/chathandler.cpp
+++ b/src/net/tmwa/chathandler.cpp
@@ -335,7 +335,7 @@ void ChatHandler::processChatContinue(std::string chatMsg,
ChatMsgType::BY_PLAYER,
channel,
IgnoreRecord_false,
- true);
+ TryRemoveColors_true);
}
if (channel.empty())
@@ -406,7 +406,7 @@ void ChatHandler::processGmChat(Net::MessageIn &msg)
ChatMsgType::BY_PLAYER,
channel,
IgnoreRecord_false,
- true);
+ TryRemoveColors_true);
}
if (channel.empty())
@@ -678,7 +678,7 @@ void ChatHandler::processBeingChat(Net::MessageIn &msg)
ChatMsgType::BY_OTHER,
channel,
IgnoreRecord_false,
- true);
+ TryRemoveColors_true);
}
if (allow && player_relations.hasPermission(sender_name,