From baa5a488791772fd6adff7b2f04dd2c5aca2a29d Mon Sep 17 00:00:00 2001 From: Timberpoes Date: Tue, 26 Oct 2021 01:55:58 +0100 Subject: [PATCH] Fix runtime when editing bans introduced by untrustworthy code ocelot. (#62322) --- code/modules/admin/sql_ban_system.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/admin/sql_ban_system.dm b/code/modules/admin/sql_ban_system.dm index 756fc367ab6..154872287d7 100644 --- a/code/modules/admin/sql_ban_system.dm +++ b/code/modules/admin/sql_ban_system.dm @@ -219,6 +219,7 @@ +
When ticked, edits here will also affect bans created with matching ckey, IP, CID and time. Use this to edit all role bans which were made at the same time. "} @@ -434,6 +435,7 @@ changes += list("Reason" = "[href_list["oldreason"]]
to
[reason]") if(!changes.len) error_state += "No changes were detected." + roles_to_ban += href_list["role"] else severity = href_list["radioseverity"] if(!severity)