summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-24 22:31:47 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-24 22:31:47 +0300
commit7da1fab7ee72517bf2359a184d544734e92be6a9 (patch)
tree02b48427edcbdf55924d65d4dfe91beaff8c2b0c /src/net
parent7ae8a11e0e99ab28730a8ca98388a6ec0ea1923e (diff)
downloadmv-7da1fab7ee72517bf2359a184d544734e92be6a9.tar.gz
mv-7da1fab7ee72517bf2359a184d544734e92be6a9.tar.bz2
mv-7da1fab7ee72517bf2359a184d544734e92be6a9.tar.xz
mv-7da1fab7ee72517bf2359a184d544734e92be6a9.zip
From ChatTab::chatLog removed default parameter for message owner type.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ea/guildhandler.cpp2
-rw-r--r--src/net/tmwa/chathandler.cpp2
-rw-r--r--src/net/tmwa/guildmanager.cpp4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/net/ea/guildhandler.cpp b/src/net/ea/guildhandler.cpp
index d0beb4881..13317699b 100644
--- a/src/net/ea/guildhandler.cpp
+++ b/src/net/ea/guildhandler.cpp
@@ -455,7 +455,7 @@ void GuildHandler::processGuildMessage(Net::MessageIn &msg)
}
else
{
- guildTab->chatLog(chatMsg);
+ guildTab->chatLog(chatMsg, ChatMsgType::BY_SERVER);
}
}
}
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;
}