# HG changeset patch # User Kim Alvefur # Date 1522853002 -7200 # Node ID 1f8220f0c8bfd3814a8d70ca17f2f74e3a75250d # Parent 5fd9462117cd1c4e5dcb1f2f08b5384888e33e1e mod_query_client_ver: Use the module name as adhoc command node (mistakenly not changed after copying from mod_ping) diff -r 5fd9462117cd -r 1f8220f0c8bf mod_query_client_ver/mod_query_client_ver.lua --- a/mod_query_client_ver/mod_query_client_ver.lua Wed Apr 04 16:36:58 2018 +0200 +++ b/mod_query_client_ver/mod_query_client_ver.lua Wed Apr 04 16:43:22 2018 +0200 @@ -58,7 +58,7 @@ end); module:add_item("adhoc", - module:require "adhoc".new("Query all currently connected clients", "ping", + module:require "adhoc".new("Query all currently connected clients", module.name, function (self, data, state) for jid, session in pairs(prosody.full_sessions) do if session.host == module.host then