diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-24 22:31:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-24 22:31:47 +0300 |
commit | 7da1fab7ee72517bf2359a184d544734e92be6a9 (patch) | |
tree | 02b48427edcbdf55924d65d4dfe91beaff8c2b0c /src/net/tmwa | |
parent | 7ae8a11e0e99ab28730a8ca98388a6ec0ea1923e (diff) | |
download | ManaVerse-7da1fab7ee72517bf2359a184d544734e92be6a9.tar.gz ManaVerse-7da1fab7ee72517bf2359a184d544734e92be6a9.tar.bz2 ManaVerse-7da1fab7ee72517bf2359a184d544734e92be6a9.tar.xz ManaVerse-7da1fab7ee72517bf2359a184d544734e92be6a9.zip |
From ChatTab::chatLog removed default parameter for message owner type.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/chathandler.cpp | 2 | ||||
-rw-r--r-- | src/net/tmwa/guildmanager.cpp | 4 |
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; } |