diff --git a/app/classes/ratelimitrer.php b/app/classes/ratelimitrer.php index 5b96199..cc12ef3 100644 --- a/app/classes/ratelimitrer.php +++ b/app/classes/ratelimitrer.php @@ -48,8 +48,8 @@ class RateLimiter { ]; // Insert default whitelisted IPs if they don't exist - $stmt = $this->db->prepare("INSERT OR IGNORE INTO {$this->whitelistTable} - (ip_address, is_network, description, created_by) + $stmt = $this->db->prepare("INSERT OR IGNORE INTO {$this->whitelistTable} + (ip_address, is_network, description, created_by) VALUES (?, ?, ?, 'system')"); foreach ($defaultIps as $ip) { $stmt->execute([$ip[0], $ip[1], $ip[2]]);