diff options
author | Kim Alvefur <zash@zash.se> | 2018-02-25 11:20:56 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-02-25 11:20:56 +0100 |
commit | d67abe23f84f30b3fef833b20751f3e63f8819ef (patch) | |
tree | 577f3ce310ea69743d3dc3bd57208c4c05de3fca /plugins/mod_s2s | |
parent | 190964ec3e69982a53f4eab90745e5a3e3463a5c (diff) | |
download | prosody-d67abe23f84f30b3fef833b20751f3e63f8819ef.tar.gz prosody-d67abe23f84f30b3fef833b20751f3e63f8819ef.zip |
mod_s2s: Don't use string concatenation when passing values to logging
Diffstat (limited to 'plugins/mod_s2s')
-rw-r--r-- | plugins/mod_s2s/mod_s2s.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_s2s/mod_s2s.lua b/plugins/mod_s2s/mod_s2s.lua index f331ee52..e85ec6bd 100644 --- a/plugins/mod_s2s/mod_s2s.lua +++ b/plugins/mod_s2s/mod_s2s.lua @@ -60,7 +60,7 @@ local bouncy_stanzas = { message = true, presence = true, iq = true }; local function bounce_sendq(session, reason) local sendq = session.sendq; if not sendq then return; end - session.log("info", "Sending error replies for "..#sendq.." queued stanzas because of failed outgoing connection to "..tostring(session.to_host)); + session.log("info", "Sending error replies for %d queued stanzas because of failed outgoing connection to %s", #sendq, session.to_host); local dummy = { type = "s2sin"; send = function () |