Browse Source

Adopt rbl plugin.

tags/0.7.0
Vsevolod Stakhov 9 years ago
parent
commit
2c36e76ffa
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/plugins/lua/rbl.lua

+ 2
- 0
src/plugins/lua/rbl.lua View File

@@ -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

Loading…
Cancel
Save