ソースを参照

Fix output

tags/1.1.0
Vsevolod Stakhov 8年前
コミット
44ebea556a
1個のファイルの変更6行の追加1行の削除
  1. 6
    1
      src/rspamadm/fuzzy_stat.lua

+ 6
- 1
src/rspamadm/fuzzy_stat.lua ファイルの表示

@@ -31,7 +31,12 @@ local function add_data(target, src)
target[k] = v
end
else
target[k] = v
if not target['ips'] then target['ips'] = {} end
-- Iterate over IPs
for ip,st in pairs(v) do
if not target['ips'][ip] then target['ips'][ip] = {} end
add_data(target['ips'][ip], st)
end
end
end
end

読み込み中…
キャンセル
保存