Software /
code /
prosody
Diff
plugins/mod_s2s/mod_s2s.lua @ 4993:5243b74a4cbb
Hopefully inert commit to clean up logging across a number of modules, removing all cases of concatenation when building log messages
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 23 Jul 2012 17:32:33 +0100 |
parent | 4988:29bdf68ad142 |
child | 4996:164dc19519d8 |
line wrap: on
line diff
--- a/plugins/mod_s2s/mod_s2s.lua Mon Jul 23 16:42:26 2012 +0100 +++ b/plugins/mod_s2s/mod_s2s.lua Mon Jul 23 17:32:33 2012 +0100 @@ -99,7 +99,7 @@ log("error", "We are going to send from %s instead of %s", tostring(host.from_host), tostring(from_host)); end if host.sends2s(stanza) then - host.log("debug", "stanza sent over "..host.type); + host.log("debug", "stanza sent over %s", host.type); return true; end end