From 6a2d2bcb670ff327e454e8987df3fe631798305d Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 27 Mar 2022 19:53:17 +0200 Subject: [PATCH] flipped bool --- inc/mod/pages.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/mod/pages.php b/inc/mod/pages.php index 1ba4ab30..a6e0a0fd 100644 --- a/inc/mod/pages.php +++ b/inc/mod/pages.php @@ -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));