From 4323eec0e231560f67a6d1ec1664d2a7e1c19cfa Mon Sep 17 00:00:00 2001 From: SoundScopes Date: Tue, 26 May 2015 18:12:25 +0100 Subject: [PATCH] Debug logs to debug staff --- code/__HELPERS/logging.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/__HELPERS/logging.dm b/code/__HELPERS/logging.dm index 99dca9cf..7956cf49 100644 --- a/code/__HELPERS/logging.dm +++ b/code/__HELPERS/logging.dm @@ -34,8 +34,9 @@ diary << "\[[time_stamp()]]DEBUG: [text][log_end]" for(var/client/C in admins) - if(C.prefs.toggles & CHAT_DEBUGLOGS) - C << "DEBUG: [text]" + if(C.holder.rights & (R_DEV|R_DEBUG|R_MOD)) + if(C.prefs.toggles & CHAT_DEBUGLOGS) + C << "DEBUG: [text]" /proc/log_game(text)