diff options
author | Kim Alvefur <zash@zash.se> | 2020-11-22 00:52:49 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-11-22 00:52:49 +0100 |
commit | 711d451fbf097ff1061bdb02c1bb6d4493776427 (patch) | |
tree | 0a1a59879cc81f437331181a970282ae030e2c6a | |
parent | e367756529fa1add51e8d45e1dbb79f37c5965e1 (diff) | |
download | prosody-711d451fbf097ff1061bdb02c1bb6d4493776427.tar.gz prosody-711d451fbf097ff1061bdb02c1bb6d4493776427.zip |
mod_adhoc: Log commands provided at debug level
-rw-r--r-- | plugins/adhoc/mod_adhoc.lua | 2 |
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 |