From 2b68dd74fbde344d466d9235247996d8312fb3bc Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Sun, 3 Apr 2011 18:25:01 +1000 Subject: [PATCH] Removed debug line that ignored all bans... --- mod.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod.php b/mod.php index ebeb9bdd..21119bcb 100644 --- a/mod.php +++ b/mod.php @@ -1445,7 +1445,7 @@ // Record the action modLog('Created a ' . ($expire ? $expire . ' second' : 'permanent') . " ban for {$_POST['ip']} with " . (!empty($_POST['reason']) ? "reason \"{$_POST['reason']}\"" : 'no reason')); - //$query->execute() or error(db_error($query)); + $query->execute() or error(db_error($query)); // Delete too if($mod['type'] >= $config['mod']['delete'] && isset($_POST['delete']) && isset($_POST['board'])) {