Mercurial > prosody-hg
changeset 14137:368df9b2d511 13.0
mod_debug_reset: Rename unused variable to please linter
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Fri, 17 Apr 2026 12:52:12 +0200 |
| parents | e27d94d8f505 |
| children | c1469296190d 374b72785488 |
| files | plugins/mod_debug_reset.lua |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_debug_reset.lua Thu Apr 16 19:00:22 2026 +0100 +++ b/plugins/mod_debug_reset.lua Fri Apr 17 12:52:12 2026 +0200 @@ -16,7 +16,7 @@ module:fire_event("server-resetting"); for _, host in ipairs(hosts) do hostmanager.deactivate(host); - for i = 1, 4 do + for _ = 1, 4 do -- Run a few cycles to ensure full cleanup, including -- weak tables and finalizers collectgarbage("collect");
