diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-05-06 16:43:14 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-05-06 16:43:14 +0100 |
commit | 2e502bb63f5e8397594eef0f7ff7e98a9f8d0cb7 (patch) | |
tree | 61b014470a2646ea3a832d32abbd71b04ca132ad /src/libserver/symcache/symcache_item.cxx | |
parent | f4175571c737ebd0bef64bcf49cb09cc40f8750b (diff) | |
download | rspamd-2e502bb63f5e8397594eef0f7ff7e98a9f8d0cb7.tar.gz rspamd-2e502bb63f5e8397594eef0f7ff7e98a9f8d0cb7.zip |
[Minor] Fix logic
Diffstat (limited to 'src/libserver/symcache/symcache_item.cxx')
-rw-r--r-- | src/libserver/symcache/symcache_item.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/symcache/symcache_item.cxx b/src/libserver/symcache/symcache_item.cxx index f78605b13..e918d5b2c 100644 --- a/src/libserver/symcache/symcache_item.cxx +++ b/src/libserver/symcache/symcache_item.cxx @@ -300,7 +300,7 @@ auto cache_item::is_allowed(struct rspamd_task *task, bool exec_only) const -> b } if (!(flags & SYMBOL_TYPE_EXPLICIT_DISABLE)) { - if (allowed_ids.check_id(task->settings_elt->id)) { + if (!allowed_ids.check_id(task->settings_elt->id)) { if (task->settings_elt->policy == RSPAMD_SETTINGS_POLICY_IMPLICIT_ALLOW) { msg_debug_cache_task("allow execution of %s settings id %ud " |