diff options
author | Alexey <AlexeySa@users.noreply.github.com> | 2014-04-05 01:33:13 -0700 |
---|---|---|
committer | Alexey <AlexeySa@users.noreply.github.com> | 2014-04-05 01:33:13 -0700 |
commit | 3dfd703101b45ede6190e6f5dd51d27c94769356 (patch) | |
tree | 1689f33b53ff9b4e4c1bea37723368ee2590db86 /conf/lua | |
parent | b6eaaf49b62a316f99f43a666c6925068ffa354f (diff) | |
download | rspamd-3dfd703101b45ede6190e6f5dd51d27c94769356.tar.gz rspamd-3dfd703101b45ede6190e6f5dd51d27c94769356.zip |
Hfilter: small fixes
Diffstat (limited to 'conf/lua')
-rw-r--r-- | conf/lua/hfilter.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/lua/hfilter.lua b/conf/lua/hfilter.lua index f7c0751ed..a619e8f87 100644 --- a/conf/lua/hfilter.lua +++ b/conf/lua/hfilter.lua @@ -1,5 +1,5 @@ -- --- Copyright (c) 2013, Alexey Savelyev +-- Copyright (c) 2013-2014, Alexey Savelyev -- E-mail: info@homeweb.ru -- WWW: http://homeweb.ru -- @@ -161,7 +161,7 @@ local function hfilter(task) --IP-- local ip = false local rip = task:get_from_ip() - if rip:is_valid() then + if rip and rip:is_valid() then ip = rip:to_string() end |