summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/chathandler.cpp8
-rw-r--r--src/net/tmwa/chathandler.cpp6
2 files changed, 7 insertions, 7 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,
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,