diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-12-19 21:45:22 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-12-19 21:45:22 +0000 |
commit | 85711b64869afb70982c630abf6c1ec0cdf2dac9 (patch) | |
tree | 4ae5cd43df72e05572126f674c9971464698ad13 /src/rspamadm | |
parent | af9d134db9f5119a1d740dab7405aaed76ec96c1 (diff) | |
download | rspamd-85711b64869afb70982c630abf6c1ec0cdf2dac9.tar.gz rspamd-85711b64869afb70982c630abf6c1ec0cdf2dac9.zip |
Fix a stupid misprint
Diffstat (limited to 'src/rspamadm')
-rw-r--r-- | src/rspamadm/fuzzy_stat.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rspamadm/fuzzy_stat.lua b/src/rspamadm/fuzzy_stat.lua index 69b39be9a..8f430a2d1 100644 --- a/src/rspamadm/fuzzy_stat.lua +++ b/src/rspamadm/fuzzy_stat.lua @@ -174,7 +174,7 @@ return function(args, res) res_db['errors_ips'] = {} end for ip,nerrors in pairs(v) do - if not errors_ips[ip] then + if not res_db['errors_ips'][ip] then res_db['errors_ips'][ip] = nerrors else res_db['errors_ips'][ip] = nerrors + res_db['errors_ips'][ip] |