Software /
code /
prosody-modules
Changeset
258:36648205b10a
mod_smacks: Add commented log statement for future debugging
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 07 Oct 2010 16:19:09 +0100 |
parents | 257:08fa42e1ab06 |
children | 259:d137515e0701 |
files | mod_smacks/mod_smacks.lua |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_smacks/mod_smacks.lua Thu Oct 07 16:18:07 2010 +0100 +++ b/mod_smacks/mod_smacks.lua Thu Oct 07 16:19:09 2010 +0100 @@ -82,6 +82,7 @@ if not origin.smacks then return; end origin.awaiting_ack = nil; -- Remove handled stanzas from outgoing_stanza_queue + --log("debug", "ACK: h=%s, last=%s", stanza.attr.h or "", origin.last_acknowledged_stanza or ""); local handled_stanza_count = tonumber(stanza.attr.h)-origin.last_acknowledged_stanza; local queue = origin.outgoing_stanza_queue; if handled_stanza_count > #queue then @@ -142,6 +143,7 @@ end); return; -- Postpone destruction for now end + end return _destroy_session(session, err); end