Debug logs to debug staff

This commit is contained in:
SoundScopes
2015-05-26 18:12:25 +01:00
parent e7a2cdd903
commit 4323eec0e2
+3 -2
View File
@@ -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)