From 8d747eed8d81369f04c1b89c612106e894adafb2 Mon Sep 17 00:00:00 2001 From: SinTwo Date: Sun, 29 Nov 2015 13:34:00 -0500 Subject: [PATCH] Moderator Logs --- code/modules/admin/admin.dm | 4 ++-- code/modules/reagents/Chemistry-Logging.dm | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/code/modules/admin/admin.dm b/code/modules/admin/admin.dm index d7024147d07..91230bda870 100644 --- a/code/modules/admin/admin.dm +++ b/code/modules/admin/admin.dm @@ -8,14 +8,14 @@ var/global/floorIsLava = 0 msg = "ADMIN LOG: [msg]" log_adminwarn(msg) for(var/client/C in admins) - if(R_ADMIN & C.holder.rights) + if((R_ADMIN||R_MOD) & C.holder.rights) C << msg /proc/msg_admin_attack(var/text) //Toggleable Attack Messages log_attack(text) var/rendered = "ATTACK: [text]" for(var/client/C in admins) - if(R_ADMIN & C.holder.rights) + if((R_ADMIN||R_MOD) & C.holder.rights) if(C.prefs.toggles & CHAT_ATTACKLOGS) var/msg = rendered C << msg diff --git a/code/modules/reagents/Chemistry-Logging.dm b/code/modules/reagents/Chemistry-Logging.dm index 1432b18a2e8..cccf37bb6fd 100644 --- a/code/modules/reagents/Chemistry-Logging.dm +++ b/code/modules/reagents/Chemistry-Logging.dm @@ -18,7 +18,7 @@ set name = "Show Chemical Reactions" set category = "Admin" - if(!check_rights(R_ADMIN)) + if(!check_rights(R_ADMIN|R_MOD)) return var/html = ""