]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Change logic
authorAlexey <AlexeySa@users.noreply.github.com>
Wed, 21 May 2014 18:29:08 +0000 (11:29 -0700)
committerAlexey <AlexeySa@users.noreply.github.com>
Wed, 21 May 2014 18:29:08 +0000 (11:29 -0700)
src/plugins/lua/rbl.lua

index cef48f8b6304af058537780bebd7c0ef8a625ca2..bdfe3500b7bc17ba23130d77a563d13f330c27f5 100644 (file)
@@ -120,10 +120,10 @@ if(opts['default_ipv6'] == nil) then
        opts['default_ipv6'] = false
 end
 if(opts['default_received'] == nil) then
-       opts['default_received'] = true 
+       opts['default_received'] = false
 end
 if(opts['default_from'] == nil) then
-       opts['default_from'] = false
+       opts['default_from'] = true
 end
 if(opts['default_unknown'] == nil) then
        opts['default_unknown'] = false