aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--antispam-plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/antispam-plugin.c b/antispam-plugin.c
index 5dd9a02..c83d225 100644
--- a/antispam-plugin.c
+++ b/antispam-plugin.c
@@ -191,7 +191,7 @@ void PLUGIN_FUNCTION(init)(void)
}
/* set spam_folders to empty to only allow keywords */
- need_folder_hook = !!spam_folder_count;
+ need_folder_hook = spam_folder_count > 0;
need_keyword_hook = !!spam_keywords;
backend_init(global_pool);