From b6463cf77236841d1acb2e8f4c61e80deed10fbc Mon Sep 17 00:00:00 2001 From: DJSnapshot Date: Sun, 23 Nov 2014 16:17:26 -0800 Subject: [PATCH] fixes adminhelp to support mods as well. --- code/modules/admin/verbs/adminhelp.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/admin/verbs/adminhelp.dm b/code/modules/admin/verbs/adminhelp.dm index 6825c07df3..945390332f 100644 --- a/code/modules/admin/verbs/adminhelp.dm +++ b/code/modules/admin/verbs/adminhelp.dm @@ -122,7 +122,7 @@ var/list/adminhelp_ignored_words = list("unknown","the","a","an","of","monkey"," if(!(R_ADMIN & X.holder.rights)) if(X.is_afk()) admin_number_afk++ - if(R_ADMIN & X.holder.rights) // just admins here please + if(R_ADMIN | R_MOD & X.holder.rights) // just admins here please adminholders += X if(X.is_afk()) admin_number_afk++ @@ -148,7 +148,7 @@ var/list/adminhelp_ignored_words = list("unknown","the","a","an","of","monkey"," if("Bug report") if(debugholders.len) for(var/client/X in debugholders) - if(R_ADMIN & X.holder.rights) // Admins get every button & special highlights in theirs + if(R_ADMIN | R_MOD & X.holder.rights) // Admins get every button & special highlights in theirs if(X.prefs.toggles & SOUND_ADMINHELP) X << 'sound/effects/adminhelp.ogg' X << msg