Comparison

mod_smacks/mod_smacks.lua @ 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
parent 1527:06ecc5b3ca46
child 1529:16893646a458
comparison
equal deleted inserted replaced
1527:06ecc5b3ca46 1528:5ccb3ee2cf72
104 end 104 end
105 return stanza; 105 return stanza;
106 end 106 end
107 107
108 local function wrap_session(session, resume) 108 local function wrap_session(session, resume)
109 local queue;
110 if not resume then 109 if not resume then
111 queue = {}; 110 session.outgoing_stanza_queue = {};
112 session.outgoing_stanza_queue = queue;
113 session.last_acknowledged_stanza = 0; 111 session.last_acknowledged_stanza = 0;
114 else
115 queue = session.outgoing_stanza_queue;
116 end 112 end
117 113
118 add_filter(session, "stanzas/out", outgoing_stanza_filter, -1000); 114 add_filter(session, "stanzas/out", outgoing_stanza_filter, -1000);
119 115
120 local session_close = session.close; 116 local session_close = session.close;