diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-12-15 17:45:27 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-12-15 17:45:27 +0000 |
commit | 4bef31652eb53eb924f0bba096e5d39e5404d059 (patch) | |
tree | 109fffcec11cc513aff5e333b39f8b53d0fbdc54 | |
parent | cbd8d185575b84e192a23c6efde9f3939043cd1f (diff) | |
download | rspamd-4bef31652eb53eb924f0bba096e5d39e5404d059.tar.gz rspamd-4bef31652eb53eb924f0bba096e5d39e5404d059.zip |
Fix bug with ips display
-rw-r--r-- | src/rspamadm/fuzzy_stat.lua | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/rspamadm/fuzzy_stat.lua b/src/rspamadm/fuzzy_stat.lua index 26f7d1c76..d0d59532d 100644 --- a/src/rspamadm/fuzzy_stat.lua +++ b/src/rspamadm/fuzzy_stat.lua @@ -31,12 +31,7 @@ local function add_data(target, src) target[k] = v end else - if target['ips'] then - add_data(target['ips'], v) - else - target['ips'] = {} - add_data(target['ips'], v) - end + target[k] = v end end end |