From 45d4fbb3779c4a879aca5475b1b2895f80ac60a9 Mon Sep 17 00:00:00 2001 From: Yasen Pramatarov Date: Sat, 21 Dec 2024 17:18:53 +0200 Subject: [PATCH] Clean up spaces --- app/classes/ratelimitrer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]]);