Update filters to work with new ban table

This commit is contained in:
Michael Foster 2013-07-18 10:17:19 -04:00
parent 7e95e80c25
commit ce9431ba34

View File

@ -81,7 +81,7 @@ class Filter {
else else
$all_boards = false; $all_boards = false;
$query = prepare("INSERT INTO `bans` VALUES (NULL, :ip, :mod, :set, :expires, :reason, :board)"); $query = prepare("INSERT INTO `bans` VALUES (NULL, :ip, :mod, :set, :expires, :reason, :board, 0)");
$query->bindValue(':ip', $_SERVER['REMOTE_ADDR']); $query->bindValue(':ip', $_SERVER['REMOTE_ADDR']);
$query->bindValue(':mod', -1); $query->bindValue(':mod', -1);
$query->bindValue(':set', time()); $query->bindValue(':set', time());