Software /
code /
prosody-modules
Changeset
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 |
parents | 2911:43adc18ff9f3 |
children | 2913:3fb4f72b3dfd |
files | mod_auto_answer_disco_info/mod_auto_answer_disco_info.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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