diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-08-25 13:40:10 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-08-25 13:40:10 +0100 |
commit | 2c36e76ffa0980e2e103a55488938c01be2ceb73 (patch) | |
tree | b54426d5f387e47f9e670a90296cef3a728b9063 /src | |
parent | 9607311fd2a7acf8612a21d268215369c9f9327c (diff) | |
download | rspamd-2c36e76ffa0980e2e103a55488938c01be2ceb73.tar.gz rspamd-2c36e76ffa0980e2e103a55488938c01be2ceb73.zip |
Adopt rbl plugin.
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/lua/rbl.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua index 7f2640a80..5b6165d80 100644 --- a/src/plugins/lua/rbl.lua +++ b/src/plugins/lua/rbl.lua @@ -1,5 +1,7 @@ local rbls = {} +local rspamd_logger = require "rspamd_logger" + local function ip_to_rbl(ip, rbl) return table.concat(ip:inversed_str_octets(), ".") .. '.' .. rbl end |