diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-03-20 13:51:37 +0100 |
---|---|---|
committer | Johannes Berg <johannes@sipsolutions.net> | 2008-03-20 13:51:37 +0100 |
commit | 0ac5aca79054773d6c03bc7febc81e3f22d0292f (patch) | |
tree | 52202c15fa878f8aa0c26fbca6a4e413fc71bffc | |
parent | a5941271d9ba14dd198df01a13400af557ecf6ed (diff) | |
download | dovecot-antispam-0ac5aca79054773d6c03bc7febc81e3f22d0292f.tar.gz dovecot-antispam-0ac5aca79054773d6c03bc7febc81e3f22d0292f.tar.xz dovecot-antispam-0ac5aca79054773d6c03bc7febc81e3f22d0292f.zip |
make code for folder hook clearer
Diffstat (limited to '')
-rw-r--r-- | antispam-plugin.c | 2 |
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); |