Mercurial > prosody-modules
changeset 1528:5ccb3ee2cf72
mod_smacks: Remove variable not used after 2881d532f385
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 20 Oct 2014 13:11:28 +0200 |
parents | 06ecc5b3ca46 |
children | 16893646a458 |
files | mod_smacks/mod_smacks.lua |
diffstat | 1 files changed, 1 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_smacks/mod_smacks.lua Mon Oct 20 11:55:08 2014 +0200 +++ b/mod_smacks/mod_smacks.lua Mon Oct 20 13:11:28 2014 +0200 @@ -106,13 +106,9 @@ end local function wrap_session(session, resume) - local queue; if not resume then - queue = {}; - session.outgoing_stanza_queue = queue; + session.outgoing_stanza_queue = {}; session.last_acknowledged_stanza = 0; - else - queue = session.outgoing_stanza_queue; end add_filter(session, "stanzas/out", outgoing_stanza_filter, -1000);