mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 22:50:26 +01:00
Fixes 2 issues with the unbanning panel and adds a reban button. (#62122)
* Rearrangeify * Add unban button, fix input box shittery * Better unban/reban button logic. Actually add the topic call. * Improved logging message. * Jordie review
This commit is contained in:
@@ -1953,6 +1953,17 @@
|
||||
var/admin_key = href_list["unbanadminkey"]
|
||||
unban(ban_id, player_key, player_ip, player_cid, role, page, admin_key)
|
||||
|
||||
else if(href_list["rebanid"])
|
||||
var/ban_id = href_list["rebanid"]
|
||||
var/player_key = href_list["rebankey"]
|
||||
var/player_ip = href_list["rebanip"]
|
||||
var/player_cid = href_list["rebancid"]
|
||||
var/role = href_list["rebanrole"]
|
||||
var/page = href_list["rebanpage"]
|
||||
var/admin_key = href_list["rebanadminkey"]
|
||||
var/applies_to_admins = href_list["applies_to_admins"]
|
||||
reban(ban_id, applies_to_admins, player_key, player_ip, player_cid, role, page, admin_key)
|
||||
|
||||
else if(href_list["unbanlog"])
|
||||
var/ban_id = href_list["unbanlog"]
|
||||
ban_log(ban_id)
|
||||
|
||||
Reference in New Issue
Block a user