Software /
code /
prosody-modules
Comparison
mod_watchuntrusted/mod_watchuntrusted.lua @ 1877:055b39c08fd0
mod_watchuntrusted: Fix periodic cleanup to run more than once
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 27 Sep 2015 14:58:15 +0200 |
parent | 1693:2328cbc41045 |
child | 1878:7f96183a60ce |
comparison
equal
deleted
inserted
replaced
1876:9c9397d692aa | 1877:055b39c08fd0 |
---|---|
62 for host, time in pairs(notified_about_already) do | 62 for host, time in pairs(notified_about_already) do |
63 if time + 86400 > now then | 63 if time + 86400 > now then |
64 notified_about_already[host] = nil; | 64 notified_about_already[host] = nil; |
65 end | 65 end |
66 end | 66 end |
67 return 14400; | |
67 end) | 68 end) |