--- a/mod_auto_answer_disco_info/mod_auto_answer_disco_info.lua Wed Mar 07 20:15:20 2018 +0100
+++ b/mod_auto_answer_disco_info/mod_auto_answer_disco_info.lua Wed Mar 07 20:17:56 2018 +0100
@@ -23,7 +23,7 @@
if disco_info ~= nil and (node == nil or node == disco_info.attr.node) then
local iq = st.reply(stanza);
iq:add_child(st.clone(disco_info));
- module:log("debug", "Answering disco#info on the behalf of the recipient")
+ module:log("debug", "Answering disco#info on the behalf of %s", to);
module:send(iq);
return true;
end