Removed debug line that ignored all bans...

This commit is contained in:
Savetheinternet 2011-04-03 18:25:01 +10:00
parent d51e1291aa
commit 2b68dd74fb

View File

@ -1445,7 +1445,7 @@
// Record the action // Record the action
modLog('Created a ' . ($expire ? $expire . ' second' : 'permanent') . " ban for {$_POST['ip']} with " . (!empty($_POST['reason']) ? "reason \"{$_POST['reason']}\"" : 'no reason')); 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 // Delete too
if($mod['type'] >= $config['mod']['delete'] && isset($_POST['delete']) && isset($_POST['board'])) { if($mod['type'] >= $config['mod']['delete'] && isset($_POST['delete']) && isset($_POST['board'])) {