summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-08-25 13:39:22 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-08-25 13:39:22 +0100
commit562b5336aca74ba391c27f216546e4114789a4e2 (patch)
tree4fc8adc3b5f632a9ff4ba7feb943c5a82a18579a /src
parent927a0cc00d0bf3678dfab040779f7b0d7c691186 (diff)
downloadrspamd-562b5336aca74ba391c27f216546e4114789a4e2.tar.gz
rspamd-562b5336aca74ba391c27f216546e4114789a4e2.zip
Adopt once_received plugin.
Diffstat (limited to 'src')
-rw-r--r--src/plugins/lua/once_received.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/lua/once_received.lua b/src/plugins/lua/once_received.lua
index e2d4496ac..2c01eb037 100644
--- a/src/plugins/lua/once_received.lua
+++ b/src/plugins/lua/once_received.lua
@@ -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)