]> source.dussan.org Git - rspamd.git/commitdiff
Fix bug with ips display
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 15 Dec 2015 17:45:27 +0000 (17:45 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 15 Dec 2015 17:45:27 +0000 (17:45 +0000)
src/rspamadm/fuzzy_stat.lua

index 26f7d1c76c8178c0daf08a1ba3d9ee0052d9362f..d0d59532d4621f56bebb8bc0c11bd739c2d3d2e9 100644 (file)
@@ -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