Comparison

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
comparison
equal deleted inserted replaced
10791:f46c5e3c97ee 10792:ef2bd183f660
301 elseif section == "xmpp" then 301 elseif section == "xmpp" then
302 print [[xmpp:ping(localhost, remotehost) -- Sends a ping to a remote XMPP server and reports the response]] 302 print [[xmpp:ping(localhost, remotehost) -- Sends a ping to a remote XMPP server and reports the response]]
303 elseif section == "config" then 303 elseif section == "config" then
304 print [[config:reload() - Reload the server configuration. Modules may need to be reloaded for changes to take effect.]] 304 print [[config:reload() - Reload the server configuration. Modules may need to be reloaded for changes to take effect.]]
305 print [[config:get([host,] option) - Show the value of a config option.]] 305 print [[config:get([host,] option) - Show the value of a config option.]]
306 elseif section == "stats" then -- TODO describe how this works 306 elseif section == "stats" then -- luacheck: ignore 542
307 -- TODO describe how stats:show() works
307 elseif section == "debug" then 308 elseif section == "debug" then
308 print [[debug:logevents(host) - Enable logging of fired events on host]] 309 print [[debug:logevents(host) - Enable logging of fired events on host]]
309 print [[debug:events(host, event) - Show registered event handlers]] 310 print [[debug:events(host, event) - Show registered event handlers]]
310 print [[debug:timers() - Show information about scheduled timers]] 311 print [[debug:timers() - Show information about scheduled timers]]
311 elseif section == "console" then 312 elseif section == "console" then