aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/adhoc
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-11-22 00:52:49 +0100
committerKim Alvefur <zash@zash.se>2020-11-22 00:52:49 +0100
commit223675b1e7d9e95f43072ac2b975f5c2b01e3f76 (patch)
tree0a1a59879cc81f437331181a970282ae030e2c6a /plugins/adhoc
parentb45a4a42475c0ccdc341be023d95206716fd22b9 (diff)
downloadprosody-223675b1e7d9e95f43072ac2b975f5c2b01e3f76.tar.gz
prosody-223675b1e7d9e95f43072ac2b975f5c2b01e3f76.zip
mod_adhoc: Log commands provided at debug level
Diffstat (limited to 'plugins/adhoc')
-rw-r--r--plugins/adhoc/mod_adhoc.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/adhoc/mod_adhoc.lua b/plugins/adhoc/mod_adhoc.lua
index 188d05e8..23846270 100644
--- a/plugins/adhoc/mod_adhoc.lua
+++ b/plugins/adhoc/mod_adhoc.lua
@@ -91,6 +91,8 @@ end, 500);
local function adhoc_added(event)
local item = event.item;
+ -- Dang this was noicy
+ module:log("debug", "Command added by mod_%s: %q, %q", item._provided_by or "<unknown module>", item.name, item.node);
commands[item.node] = item;
end