Software /
code /
prosody-modules
Diff
mod_smacks/mod_smacks.lua @ 1293:ddbc1eb8d431
mod_smacks: Remove logging of unacked stanzas
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 30 Jan 2014 13:39:24 +0000 |
parent | 1024:d7655e634c30 |
child | 1298:659da45a2b4b |
line wrap: on
line diff
--- a/mod_smacks/mod_smacks.lua Tue Jan 28 12:47:06 2014 +0100 +++ b/mod_smacks/mod_smacks.lua Thu Jan 30 13:39:24 2014 +0000 @@ -221,10 +221,7 @@ if not session.resumption_token then local queue = session.outgoing_stanza_queue; if #queue > 0 then - module:log("warn", "Destroying session with %d unacked stanzas:", #queue); - for i=1,#queue do - module:log("warn", "::%s", tostring(queue[i])); - end + module:log("warn", "Destroying session with %d unacked stanzas", #queue); handle_unacked_stanzas(session); end else