From 2268d865bfc1e1c3a6e18beec4262d49c38cce5c Mon Sep 17 00:00:00 2001 From: LetterN <24603524+LetterN@users.noreply.github.com> Date: Mon, 11 Nov 2024 11:57:53 +0800 Subject: [PATCH] use security_checks --- code/modules/client/client_procs.dm | 2 +- code/modules/client/onboarding/security_checks.dm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/client/client_procs.dm b/code/modules/client/client_procs.dm index fe21a48e85c0..8fe14ac12581 100644 --- a/code/modules/client/client_procs.dm +++ b/code/modules/client/client_procs.dm @@ -303,7 +303,7 @@ INVOKE_ASYNC(SSipintel, TYPE_PROC_REF(/datum/controller/subsystem/ipintel, vpn_connection_check), address, ckey) // run onboarding gauntlet INVOKE_ASYNC(src, PROC_REF(onboarding)) - if (!security_checks_impl()) + if (!security_checks()) return // GET OUT (assume client is dead) //* Initialize Input *// diff --git a/code/modules/client/onboarding/security_checks.dm b/code/modules/client/onboarding/security_checks.dm index da45678abe6e..696e5ac0a31a 100644 --- a/code/modules/client/onboarding/security_checks.dm +++ b/code/modules/client/onboarding/security_checks.dm @@ -8,7 +8,7 @@ GLOBAL_LIST_INIT(blacklisted_builds, list( /client/proc/security_checks() // set waitfor = FALSE // lock up login - security_checks_impl() + return security_checks_impl() /client/proc/security_checks_impl() // supplimentary checks for 512 n up. version check is down there