Comparison

core/s2smanager.lua @ 162:b1099bdd2724

Remove some overly-verbose debug log output
author Matthew Wild <mwild1@gmail.com>
date Fri, 24 Oct 2008 15:33:38 +0100
parent 161:8c1a8a3e32e8
child 164:8dc1faa5b1df
comparison
equal deleted inserted replaced
161:8c1a8a3e32e8 162:b1099bdd2724
170 function mark_connected(session) 170 function mark_connected(session)
171 local sendq, send = session.sendq, session.send; 171 local sendq, send = session.sendq, session.send;
172 if sendq then 172 if sendq then
173 session.log("debug", "sending queued stanzas across new connection"); 173 session.log("debug", "sending queued stanzas across new connection");
174 for i, data in ipairs(sendq) do 174 for i, data in ipairs(sendq) do
175 session.log("debug", "sending: %s", tostring(data));
176 send(data); 175 send(data);
177 sendq[i] = nil; 176 sendq[i] = nil;
178 end 177 end
179 session.sendq = nil; 178 session.sendq = nil;
180 end 179 end