From 4f8d6c7c11f7423e1ccd75e723db155fc2ede48e Mon Sep 17 00:00:00 2001 From: Letter N <24603524+LetterN@users.noreply.github.com> Date: Fri, 5 Mar 2021 17:21:22 +0800 Subject: [PATCH] bruh --- code/modules/admin/admin_verbs.dm | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/code/modules/admin/admin_verbs.dm b/code/modules/admin/admin_verbs.dm index 75feb67a36..5b28ad0ca9 100644 --- a/code/modules/admin/admin_verbs.dm +++ b/code/modules/admin/admin_verbs.dm @@ -423,6 +423,18 @@ GLOBAL_PROTECT(admin_verbs_hideable) message_admins("[key_name_admin(usr)] checked antagonists.") SSblackbox.record_feedback("tally", "admin_verb", 1, "Check Antagonists") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! +/client/proc/unban_panel() + set name = "Unbanning Panel" + set category = "Admin" + if(!check_rights(R_BAN)) + return + if(holder) + if(CONFIG_GET(flag/ban_legacy_system)) + holder.unbanpanel() + else + holder.DB_ban_panel() + SSblackbox.record_feedback("tally", "admin_verb", 1, "Unban Panel") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! + // /client/proc/ban_panel() // set name = "Banning Panel" // set category = "Admin"