diff options
Diffstat (limited to 'src/plugins/lua/settings.lua')
-rw-r--r-- | src/plugins/lua/settings.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/settings.lua b/src/plugins/lua/settings.lua index 93e9a56be..7789d980c 100644 --- a/src/plugins/lua/settings.lua +++ b/src/plugins/lua/settings.lua @@ -174,7 +174,7 @@ local function check_settings(task) end if rule['ip'] then - if not ip then + if not ip or not ip:is_valid() then return nil end for _, i in ipairs(rule['ip']) do |