Software /
code /
prosody
Diff
plugins/mod_admin_telnet.lua @ 10792:ef2bd183f660
mod_admin_telnet: Silence luacheck
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 29 Apr 2020 23:28:21 +0200 |
parent | 10791:f46c5e3c97ee |
child | 10795:4c90f06f2247 |
line wrap: on
line diff
--- a/plugins/mod_admin_telnet.lua Wed Apr 29 23:15:01 2020 +0200 +++ b/plugins/mod_admin_telnet.lua Wed Apr 29 23:28:21 2020 +0200 @@ -303,7 +303,8 @@ elseif section == "config" then print [[config:reload() - Reload the server configuration. Modules may need to be reloaded for changes to take effect.]] print [[config:get([host,] option) - Show the value of a config option.]] - elseif section == "stats" then -- TODO describe how this works + elseif section == "stats" then -- luacheck: ignore 542 + -- TODO describe how stats:show() works elseif section == "debug" then print [[debug:logevents(host) - Enable logging of fired events on host]] print [[debug:events(host, event) - Show registered event handlers]]