From: Andrew Lewis Date: Tue, 13 Mar 2018 10:56:01 +0000 (+0200) Subject: [Minor] Fix ratelimit for empty messages too X-Git-Tag: 1.7.1~63 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=86ad59f4c5f639649c1b490b60c0896486631de6;p=rspamd.git [Minor] Fix ratelimit for empty messages too --- diff --git a/src/plugins/lua/ratelimit.lua b/src/plugins/lua/ratelimit.lua index 324454f4d..3bd595d77 100644 --- a/src/plugins/lua/ratelimit.lua +++ b/src/plugins/lua/ratelimit.lua @@ -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'