Add uint16 debug_level to ProcessGMSay

This commit is contained in:
Akkadius 2015-01-20 02:59:32 -06:00
parent 9faa2117d5
commit cc1735bc39

View File

@ -100,7 +100,7 @@ std::string EQEmuLogSys::FormatOutMessageString(uint16 log_category, std::string
return StringFormat("%s%s", category_string.c_str(), in_message.c_str());
}
void EQEmuLogSys::ProcessGMSay(uint16 log_category, std::string message)
void EQEmuLogSys::ProcessGMSay(uint16 debug_level, uint16 log_category, std::string message)
{
/* Check if category enabled for process */
if (log_settings[log_category].log_to_gmsay == 0)
@ -229,7 +229,7 @@ void EQEmuLogSys::Out(Logs::DebugLevel debug_level, uint16 log_category, std::st
std::string output_debug_message = EQEmuLogSys::FormatOutMessageString(log_category, output_message);
EQEmuLogSys::ProcessConsoleMessage(0, log_category, output_debug_message);
EQEmuLogSys::ProcessGMSay(log_category, output_debug_message);
EQEmuLogSys::ProcessGMSay(0, log_category, output_debug_message);
EQEmuLogSys::ProcessLogWrite(0, log_category, output_debug_message);
}