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 | 223675b1e7d9e95f43072ac2b975f5c2b01e3f76 (patch) | |
tree | 0a1a59879cc81f437331181a970282ae030e2c6a /plugins | |
parent | b45a4a42475c0ccdc341be023d95206716fd22b9 (diff) | |
download | prosody-223675b1e7d9e95f43072ac2b975f5c2b01e3f76.tar.gz prosody-223675b1e7d9e95f43072ac2b975f5c2b01e3f76.zip |
mod_adhoc: Log commands provided at debug level
Diffstat (limited to 'plugins')
-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 |