diff options
Diffstat (limited to 'src/plugins/lua/once_received.lua')
-rw-r--r-- | src/plugins/lua/once_received.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/lua/once_received.lua b/src/plugins/lua/once_received.lua index 63de22776..3012205d6 100644 --- a/src/plugins/lua/once_received.lua +++ b/src/plugins/lua/once_received.lua @@ -142,6 +142,10 @@ end -- Configuration local opts = rspamd_config:get_all_opt('once_received') if opts then + if opts['enabled'] == false then + rspamd_logger.info('Module is disabled') + return + end if opts['symbol'] then local symbol = opts['symbol'] |