Software /
code /
prosody-modules
Diff
mod_auto_answer_disco_info/mod_auto_answer_disco_info.lua @ 2912:6e5bd5d8a5e2
mod_auto_answer_disco_info: Improve the debug message to include the recipient
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Wed, 07 Mar 2018 20:17:56 +0100 |
parent | 2911:43adc18ff9f3 |
child | 3081:e0ef90e96931 |
line wrap: on
line diff
--- 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