]> source.dussan.org Git - rspamd.git/commitdiff
Adopt once_received plugin.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 25 Aug 2014 12:39:22 +0000 (13:39 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 25 Aug 2014 12:39:22 +0000 (13:39 +0100)
src/plugins/lua/once_received.lua

index e2d4496ac8ba3fd35245df9a0799545961641009..2c01eb0375ae1324285e064eed579bf6be2254ac 100644 (file)
@@ -5,6 +5,7 @@ local symbol = 'ONCE_RECEIVED'
 local symbol_strict = nil
 local bad_hosts = {}
 local good_hosts = {}
+local rspamd_logger = require "rspamd_logger"
 
 local function check_quantity_received (task)
        local function recv_dns_cb(resolver, to_resolve, results, err)