From 3c10853a7d3262c73751a9ea56f2c14e50b2c9b3 Mon Sep 17 00:00:00 2001 From: Kyle Spier-Swenson Date: Wed, 20 Feb 2019 16:18:40 -0800 Subject: [PATCH] Bans now only default to banning ip if a permaban. CID defaults to always checked. Use IP and CID from last connection now defaults to enabled unless all the default checked values are provided. Use IP and CID from last connection now only fills in checked values, rather then forcing both IP and CID. Use IP and CID from last connection no longer triggers an error if the user can not be found, instead asking the banning admin if the want to continue (same behavior as when this happens without that option checked). The main reason behind this is that your avg 1 to 2 day ban shouldn't impact everybody on the same network, especially when it comes to colleges and shared internet. The old system worked such that ip bans were only possible on perma server bans, this still gives full flexibility. --- code/modules/admin/sql_ban_system.dm | 33 ++++++++++++++-------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/code/modules/admin/sql_ban_system.dm b/code/modules/admin/sql_ban_system.dm index 799098b9a27..014678e44d0 100644 --- a/code/modules/admin/sql_ban_system.dm +++ b/code/modules/admin/sql_ban_system.dm @@ -97,16 +97,16 @@