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

Завантаження…
Відмінити
Зберегти