mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-21 15:42:35 +00:00
Fixes issues with the API whitelist (#6865)
* Fixes issues with the API whitelist * Update code/modules/world_api/api_command.dm Co-Authored-By: Erki <skull132@users.noreply.github.com>
This commit is contained in:
@@ -66,7 +66,7 @@
|
||||
log_debug("API: Throttling bypassed - Command [name] set to no_throttle")
|
||||
return FALSE
|
||||
|
||||
if (config.api_rate_limit_whitelist[addr] == null)
|
||||
if (config.api_rate_limit_whitelist[addr])
|
||||
log_debug("API: Throttling bypassed - IP [addr] is whitelisted.")
|
||||
return FALSE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user