Software /
code /
prosody
Comparison
plugins/mod_debug_reset.lua @ 13029:8ad432953300
mod_debug_reset: Remove now unused import of util.time (thanks luacheck)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 06 Apr 2023 14:49:11 +0100 |
parent | 13028:b2e6a175537d |
comparison
equal
deleted
inserted
replaced
13028:b2e6a175537d | 13029:8ad432953300 |
---|---|
4 -- also be of use for some kinds of manual testing. | 4 -- also be of use for some kinds of manual testing. |
5 | 5 |
6 module:set_global(); | 6 module:set_global(); |
7 | 7 |
8 local hostmanager = require "prosody.core.hostmanager"; | 8 local hostmanager = require "prosody.core.hostmanager"; |
9 | |
10 local timer = require "prosody.util.timer"; | |
11 | 9 |
12 local function do_reset() | 10 local function do_reset() |
13 module:log("info", "Performing reset..."); | 11 module:log("info", "Performing reset..."); |
14 local hosts = {}; | 12 local hosts = {}; |
15 for host in pairs(prosody.hosts) do | 13 for host in pairs(prosody.hosts) do |