]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix ratelimit for empty messages too
authorAndrew Lewis <nerf@judo.za.org>
Tue, 13 Mar 2018 10:56:01 +0000 (12:56 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Tue, 13 Mar 2018 10:56:01 +0000 (12:56 +0200)
src/plugins/lua/ratelimit.lua

index 324454f4d5cc13af3a5b04aa197e4301d7281f61..3bd595d77588ed0574535e99734a1832ade6a748 100644 (file)
@@ -713,6 +713,7 @@ if opts then
       name = 'RATELIMIT_CHECK',
       priority = 4,
       callback = ratelimit_cb,
+      flags = 'empty',
     }
     if use_ip_score then
       s.type = 'normal'