From 223675b1e7d9e95f43072ac2b975f5c2b01e3f76 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 22 Nov 2020 00:52:49 +0100 Subject: mod_adhoc: Log commands provided at debug level --- plugins/adhoc/mod_adhoc.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins/adhoc') 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 "", item.name, item.node); commands[item.node] = item; end -- cgit v1.2.3