Skip to content

Commit

Permalink
fiiiiiine
Browse files Browse the repository at this point in the history
  • Loading branch information
Furrior committed Feb 11, 2025
1 parent 255fe2f commit 82dc99b
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions code/modules/admin/IsBanned.dm
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,15 @@
//Whitelist
if(!real_bans_only && !C && CONFIG_GET(flag/usewhitelist))
if(!check_whitelist(ckey))
if (FALSE) // BANDASTATION EDIT: SS Central
log_admin("The admin [ckey] has been allowed to bypass the whitelist")
if (message)
message_admins(span_adminnotice("The admin [ckey] has been allowed to bypass the whitelist"))
addclientmessage(ckey,span_adminnotice("You have been allowed to bypass the whitelist"))
else
log_access("Failed Login: [ckey] - Not on whitelist")
return list("reason"="whitelist", "desc" = "\nReason: You are not on the white list for this server")
// BANDASTATION EDIT - SSCentral - Admins need wls too
// if (admin)
// log_admin("The admin [ckey] has been allowed to bypass the whitelist")
// if (message)
// message_admins(span_adminnotice("The admin [ckey] has been allowed to bypass the whitelist"))
// addclientmessage(ckey,span_adminnotice("You have been allowed to bypass the whitelist"))
// else
log_access("Failed Login: [ckey] - Not on whitelist")
return list("reason"="whitelist", "desc" = "\nReason: You are not on the white list for this server")

//Guest Checking
if(!real_bans_only && !C && is_guest_key(key))
Expand Down

0 comments on commit 82dc99b

Please sign in to comment.