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/gui/widgets/tabs/chat/chattab.cpp | |
parent | 7ae8a11e0e99ab28730a8ca98388a6ec0ea1923e (diff) | |
download | manaplus-7da1fab7ee72517bf2359a184d544734e92be6a9.tar.gz manaplus-7da1fab7ee72517bf2359a184d544734e92be6a9.tar.bz2 manaplus-7da1fab7ee72517bf2359a184d544734e92be6a9.tar.xz manaplus-7da1fab7ee72517bf2359a184d544734e92be6a9.zip |
From ChatTab::chatLog removed default parameter for message owner type.
Diffstat (limited to 'src/gui/widgets/tabs/chat/chattab.cpp')
-rw-r--r-- | src/gui/widgets/tabs/chat/chattab.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/widgets/tabs/chat/chattab.cpp b/src/gui/widgets/tabs/chat/chattab.cpp index dd2ff9a54..58f8ec019 100644 --- a/src/gui/widgets/tabs/chat/chattab.cpp +++ b/src/gui/widgets/tabs/chat/chattab.cpp @@ -562,11 +562,13 @@ void ChatTab::showOnline(const std::string &nick, if (online == Online_true) { // TRANSLATORS: chat message - chatLog(strprintf(_("%s is now Online."), nick.c_str())); + chatLog(strprintf(_("%s is now Online."), nick.c_str()), + ChatMsgType::BY_SERVER); } else { // TRANSLATORS: chat message - chatLog(strprintf(_("%s is now Offline."), nick.c_str())); + chatLog(strprintf(_("%s is now Offline."), nick.c_str()), + ChatMsgType::BY_SERVER); } } |