Skip to content

Commit

Permalink
Update subsystem.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
dwasint committed May 30, 2024
1 parent 823c0f9 commit 108156a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions monkestation/code/modules/overwatch/subsystem.dm
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,12 @@ SUBSYSTEM_DEF(overwatch)
return cached_player_age

/datum/controller/subsystem/overwatch/proc/CheckActiveBans(client/C)
if(C.ckey in GLOB.interviews.approved_ckeys) // if these are already approved no point querying as they will be allowed regardless
return
var/living_minutes = C.get_exp_living(TRUE)
if(living_minutes >= 30)
return

if(!CONFIG_GET(string/centcom_ban_db))
return

Expand Down

0 comments on commit 108156a

Please sign in to comment.