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
This commit is contained in:
Kyle Spier-Swenson
2017-05-07 11:15:39 -07:00
committed by GitHub
parent ad4f15d501
commit f624f729c5

View File

@@ -79,8 +79,8 @@
validckey = 1
if(!validckey)
if(!banned_mob || (banned_mob && !IsGuestKey(banned_mob.key)))
message_admins("<font color='red'>[key_name_admin(usr)] attempted to ban [ckey], but [ckey] has not been seen yet. Please only ban actual players.</font>",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