Mercurial > prosody-modules
changeset 2993:1f8220f0c8bf
mod_query_client_ver: Use the module name as adhoc command node (mistakenly not changed after copying from mod_ping)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 04 Apr 2018 16:43:22 +0200 |
parents | 5fd9462117cd |
children | 9842979f3034 |
files | mod_query_client_ver/mod_query_client_ver.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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