Moves admin attack log helpers to admin module, makes admin_attack_log more resilient against null arguments

This commit is contained in:
mwerezak
2015-06-06 11:52:40 -04:00
parent 04d1b40e3d
commit 0725b0cc3e
4 changed files with 13 additions and 10 deletions

View File

@@ -20,6 +20,10 @@ var/global/floorIsLava = 0
var/msg = rendered
C << msg
proc/admin_notice(var/message, var/rights)
for(var/mob/M in mob_list)
if(check_rights(rights, 0, M))
M << message
///////////////////////////////////////////////////////////////////////////////////////////////Panels