summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/chatrecv.cpp15
-rw-r--r--src/net/tmwa/guildmanager.cpp10
2 files changed, 20 insertions, 5 deletions
diff --git a/src/net/tmwa/chatrecv.cpp b/src/net/tmwa/chatrecv.cpp
index afa501004..a23dc92a4 100644
--- a/src/net/tmwa/chatrecv.cpp
+++ b/src/net/tmwa/chatrecv.cpp
@@ -272,7 +272,10 @@ void ChatRecv::processWhisperContinue(const std::string &nick,
const size_t pos = chatMsg.find(": ", 0);
if (pos == std::string::npos)
{
- gmChatTab->chatLog(chatMsg, ChatMsgType::BY_SERVER);
+ gmChatTab->chatLog(chatMsg,
+ ChatMsgType::BY_SERVER,
+ IgnoreRecord_false,
+ TryRemoveColors_true);
}
else
{
@@ -282,7 +285,10 @@ void ChatRecv::processWhisperContinue(const std::string &nick,
}
else
{
- localChatTab->chatLog(chatMsg, ChatMsgType::BY_SERVER);
+ localChatTab->chatLog(chatMsg,
+ ChatMsgType::BY_SERVER,
+ IgnoreRecord_false,
+ TryRemoveColors_true);
}
}
BLOCK_END("ChatRecv::processWhisper")
@@ -371,7 +377,10 @@ void ChatRecv::processScriptMessage(Net::MessageIn &msg)
const int sz = msg.readInt16("len") - 5;
msg.readUInt8("message type");
const std::string message = msg.readString(sz, "message");
- localChatTab->chatLog(message, ChatMsgType::BY_SERVER);
+ localChatTab->chatLog(message,
+ ChatMsgType::BY_SERVER,
+ IgnoreRecord_false,
+ TryRemoveColors_true);
}
} // namespace TmwAthena
diff --git a/src/net/tmwa/guildmanager.cpp b/src/net/tmwa/guildmanager.cpp
index 5484f1b51..df73a6c40 100644
--- a/src/net/tmwa/guildmanager.cpp
+++ b/src/net/tmwa/guildmanager.cpp
@@ -448,7 +448,10 @@ bool GuildManager::process(std::string msg)
const std::string sender_name = msg.substr(0, pos);
if (guild->getMember(sender_name) == nullptr)
{
- mTab->chatLog(msg, ChatMsgType::BY_SERVER);
+ mTab->chatLog(msg,
+ ChatMsgType::BY_SERVER,
+ IgnoreRecord_false,
+ TryRemoveColors_true);
return true;
}
@@ -461,7 +464,10 @@ bool GuildManager::process(std::string msg)
}
else
{
- mTab->chatLog(msg, ChatMsgType::BY_SERVER);
+ mTab->chatLog(msg,
+ ChatMsgType::BY_SERVER,
+ IgnoreRecord_false,
+ TryRemoveColors_true);
}
return true;
}