BS12 Hooks

This commit is contained in:
Mloc-Argent
2013-11-25 21:16:09 +00:00
committed by alex-gh
parent a2a50586b0
commit 1b2f83dee4
18 changed files with 96 additions and 122 deletions
-13
View File
@@ -982,19 +982,6 @@
if("Cancel")
return
else if(href_list["unjobbanf"])
if(!check_rights(R_BAN)) return
var/banfolder = href_list["unjobbanf"]
Banlist.cd = "/base/[banfolder]"
var/key = Banlist["key"]
if(alert(usr, "Are you sure you want to unban [key]?", "Confirmation", "Yes", "No") == "Yes")
if (RemoveBanjob(banfolder))
unjobbanpanel()
else
alert(usr,"This ban has already been lifted / does not exist.","Error","Ok")
unjobbanpanel()
else if(href_list["mute"])
if(!check_rights(R_ADMIN)) return