From 079f987c5c3b8b3c26fa956b51af2c547d84aa53 Mon Sep 17 00:00:00 2001 From: Erthilo Date: Thu, 28 Jun 2012 22:59:36 +0100 Subject: [PATCH] Fixes moderators getting verbs they can't use. --- code/modules/admin/admin_verbs.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/modules/admin/admin_verbs.dm b/code/modules/admin/admin_verbs.dm index 292fffc667..1cfd0530a1 100644 --- a/code/modules/admin/admin_verbs.dm +++ b/code/modules/admin/admin_verbs.dm @@ -878,8 +878,9 @@ verbs -= /client/proc/hide_most_verbs verbs += /client/proc/show_verbs - verbs += /client/proc/deadchat //toggles deadchat - verbs += /obj/admins/proc/toggleooc //toggle ooc + if(holder.level > 0) + verbs += /client/proc/deadchat //toggles deadchat + verbs += /obj/admins/proc/toggleooc //toggle ooc verbs += /client/proc/cmd_admin_say//asay verbs += /client/proc/cmd_mod_say//asay // feedback_add_details("admin_verb","TAVVH") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!