From f624f729c5dfb8fb59542e60f5d54f3c85a0d8c3 Mon Sep 17 00:00:00 2001 From: Kyle Spier-Swenson Date: Sun, 7 May 2017 11:15:39 -0700 Subject: [PATCH] Fixes this annoying ass thing in the bandb i should have fixed before. This was designed to protect against typos, but it also prevents banning people who are shits on other servers, or banning when jordie messes up inserts to the player table --- code/modules/admin/DB_ban/functions.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/admin/DB_ban/functions.dm b/code/modules/admin/DB_ban/functions.dm index 37f4ea8835d..cbaab5f3671 100644 --- a/code/modules/admin/DB_ban/functions.dm +++ b/code/modules/admin/DB_ban/functions.dm @@ -79,8 +79,8 @@ validckey = 1 if(!validckey) if(!banned_mob || (banned_mob && !IsGuestKey(banned_mob.key))) - message_admins("[key_name_admin(usr)] attempted to ban [ckey], but [ckey] has not been seen yet. Please only ban actual players.",1) - return + if(alert(usr, "[ckey] has not been seen before, are you sure you want to create a ban for them?", "Unknown ckey", "Yes", "No", "Cancel") != "Yes") + return var/a_ckey var/a_computerid