Skip to content

Commit

Permalink
cyrillic C moment
Browse files Browse the repository at this point in the history
  • Loading branch information
Legendaxe committed Apr 19, 2024
1 parent 3c2b0d1 commit 8ff2730
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modular_ss220/whitelist/code/whitelist.dm
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@

/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 || !сkey || ckey in GLOB.configuration.overflow.overflow_whitelist)
return ..()

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]) нет в вайтлисте этого сервера. Приобрести доступ возможно у одного из стримеров Банды за баллы канала или записаться самостоятельно с помощью команды в дискорде, доступной сабам бусти, начиная со второго тира.")
var/datum/db_query/whitelist_query = SSdbcore.NewQuery({"
Expand Down

0 comments on commit 8ff2730

Please sign in to comment.