@ -2218,7 +2218,7 @@ function mod_deletebyip($boardName, $post, $global = false) {
error("The following IP is protected by the deletebyip_excluded_ips configuration ".$ip);
}
$threadFilter = $config['deletebyip_exclude_threads'] ? "" : "AND `thread` IS NOT NULL";
$threadFilter = $config['deletebyip_exclude_threads'] ? "AND `thread` IS NOT NULL" : "";
$boards = $global ? listBoards() : array(array('uri' => $boardName));