From 5dad18e984f2cdc2f9d47ca8a36a53bceb29fee2 Mon Sep 17 00:00:00 2001 From: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com> Date: Mon, 17 Apr 2023 18:13:29 -0400 Subject: [PATCH] [FUCK] Fixes our whitelist system not letting people in when whitelisted and getting on for the first time (#20614) Fixes our whitelist system not letting people in when whitelisted and getting on for the first time --- code/modules/admin/IsBanned.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/admin/IsBanned.dm b/code/modules/admin/IsBanned.dm index f14d1ebab99..f9a2d064f1e 100644 --- a/code/modules/admin/IsBanned.dm +++ b/code/modules/admin/IsBanned.dm @@ -32,6 +32,7 @@ if(GLOB.admin_datums[ckey] || GLOB.deadmins[ckey]) admin = TRUE + /* SKYRAT EDIT REMOVAL START - We have the panic bunker on 24/7, this just makes our method unusable. if(!real_bans_only && !admin && CONFIG_GET(flag/panic_bunker) && !CONFIG_GET(flag/panic_bunker_interview)) var/datum/db_query/query_client_in_db = SSdbcore.NewQuery( "SELECT 1 FROM [format_table_name("player")] WHERE ckey = :ckey", @@ -49,6 +50,7 @@ if (message) message_admins(span_adminnotice("[reject_message]")) return list("reason"="panicbunker", "desc" = "Sorry but the server is currently not accepting connections from never before seen players") + */ // SKYRAT EDIT REMOVAL END //Whitelist if(!real_bans_only && !C && CONFIG_GET(flag/usewhitelist))