From cc1735bc3962c48fdce1a66eeea59e10ade24e31 Mon Sep 17 00:00:00 2001 From: Akkadius Date: Tue, 20 Jan 2015 02:59:32 -0600 Subject: [PATCH] Add uint16 debug_level to ProcessGMSay --- common/eqemu_logsys.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/eqemu_logsys.cpp b/common/eqemu_logsys.cpp index 4ac5a359d..1d985bbb9 100644 --- a/common/eqemu_logsys.cpp +++ b/common/eqemu_logsys.cpp @@ -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); }