summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/chathandler.cpp2
-rw-r--r--src/net/tmwa/guildmanager.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/net/tmwa/chathandler.cpp b/src/net/tmwa/chathandler.cpp
index 98f6b2c18..ab8036c8c 100644
--- a/src/net/tmwa/chathandler.cpp
+++ b/src/net/tmwa/chathandler.cpp
@@ -591,7 +591,7 @@ void ChatHandler::processWhisperContinue(const std::string &nick,
const size_t pos = chatMsg.find(": ", 0);
if (pos == std::string::npos)
{
- gmChatTab->chatLog(chatMsg);
+ gmChatTab->chatLog(chatMsg, ChatMsgType::BY_SERVER);
}
else
{
diff --git a/src/net/tmwa/guildmanager.cpp b/src/net/tmwa/guildmanager.cpp
index 8bc3c2a18..7931087a9 100644
--- a/src/net/tmwa/guildmanager.cpp
+++ b/src/net/tmwa/guildmanager.cpp
@@ -457,7 +457,7 @@ bool GuildManager::process(std::string msg)
const std::string sender_name = msg.substr(0, pos);
if (!guild->getMember(sender_name))
{
- mTab->chatLog(msg);
+ mTab->chatLog(msg, ChatMsgType::BY_SERVER);
return true;
}
@@ -470,7 +470,7 @@ bool GuildManager::process(std::string msg)
}
else
{
- mTab->chatLog(msg);
+ mTab->chatLog(msg, ChatMsgType::BY_SERVER);
}
return true;
}