Browse Source

Removed debug line that ignored all bans...

pull/40/head
Savetheinternet 13 years ago
parent
commit
2b68dd74fb
  1. 2
      mod.php

2
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'])) {

Loading…
Cancel
Save