Mercurial > prosody-modules
diff mod_statistics/top.lib.lua @ 6395:94868c5217a2
mod_statistics: Use util.time instead of prosody.util.time, for 0.12 compatibility
| author | Link Mauve <linkmauve@linkmauve.fr> |
|---|---|
| date | Sun, 01 Feb 2026 14:10:04 +0100 |
| parents | f16c0b5e4fa6 |
| children |
line wrap: on
line diff
--- a/mod_statistics/top.lib.lua Sun Feb 01 14:09:58 2026 +0100 +++ b/mod_statistics/top.lib.lua Sun Feb 01 14:10:04 2026 +0100 @@ -2,7 +2,7 @@ local it = require "util.iterators"; local curses = require "curses"; local stats = module:require "stats".stats; -local time = require "prosody.util.time".now; +local time = require "util.time".now; local sessions_idle_after = 60; local stanza_names = {"message", "presence", "iq"};
