From fe6a120ea38daaad39f6952a886c20269cfedca6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 16 May 2014 16:15:34 +0300 Subject: Move chatmsgtype into separate file. --- src/notifymanager.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/notifymanager.cpp') diff --git a/src/notifymanager.cpp b/src/notifymanager.cpp index 07a9e9a8f..a5962006c 100644 --- a/src/notifymanager.cpp +++ b/src/notifymanager.cpp @@ -52,9 +52,9 @@ namespace NotifyManager static void chatLog(ChatTab *const tab, const std::string &str) { if (tab) - tab->chatLog(str, BY_SERVER); + tab->chatLog(str, ChatMsgType::BY_SERVER); else if (debugChatTab) - debugChatTab->chatLog(str, BY_SERVER); + debugChatTab->chatLog(str, ChatMsgType::BY_SERVER); } void notify(const unsigned int message) @@ -66,7 +66,7 @@ namespace NotifyManager { case EMPTY: localChatTab->chatLog(gettext(info.text), - BY_SERVER); + ChatMsgType::BY_SERVER); break; case GUILD: @@ -110,7 +110,7 @@ namespace NotifyManager if (info.flags == INT) { localChatTab->chatLog(strprintf(gettext(info.text), - num), BY_SERVER); + num), ChatMsgType::BY_SERVER); } soundManager.playSfx(SoundDB::getSound(message)); } @@ -125,7 +125,7 @@ namespace NotifyManager case STRING: { localChatTab->chatLog(strprintf(gettext(info.text), - str.c_str()), BY_SERVER); + str.c_str()), ChatMsgType::BY_SERVER); break; } case GUILD_STRING: -- cgit v1.2.3-60-g2f50