aboutsummaryrefslogtreecommitdiffstats
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
commit711d451fbf097ff1061bdb02c1bb6d4493776427 (patch)
tree0a1a59879cc81f437331181a970282ae030e2c6a
parente367756529fa1add51e8d45e1dbb79f37c5965e1 (diff)
downloadprosody-711d451fbf097ff1061bdb02c1bb6d4493776427.tar.gz
prosody-711d451fbf097ff1061bdb02c1bb6d4493776427.zip
mod_adhoc: Log commands provided at debug level
-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