Skip to content

Commit

Permalink
linter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Legendaxe committed Apr 19, 2024
1 parent 8ff2730 commit d03819e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modular_ss220/whitelist/code/whitelist.dm
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/world/IsBanned(key, address, computer_id, type, check_ipintel, check_2fa, check_guest, log_info, check_tos)
var/ckey = ckey(key)

if(GLOB.configuration.overflow.reroute_cap != 0.5 || !ckey || ckey in GLOB.configuration.overflow.overflow_whitelist)
if(GLOB.configuration.overflow.reroute_cap != 0.5 || !ckey || ckey in GLOB.configuration.overflow.overflow_whitelist)

Check warning on line 27 in modular_ss220/whitelist/code/whitelist.dm

View workflow job for this annotation

GitHub Actions / Run Linters

ambiguous `||` on left side of an `in`
return ..()

var/list/denied_entry = list("reason"="no-whitelist", "desc"="\nПричина: Вас ([key]) нет в вайтлисте этого сервера. Приобрести доступ возможно у одного из стримеров Банды за баллы канала или записаться самостоятельно с помощью команды в дискорде, доступной сабам бусти, начиная со второго тира.")
Expand Down

0 comments on commit d03819e

Please sign in to comment.