core/sessionmanager.lua

changeset 2747
168104895051
parent 2746
3b9547fc0bed
child 2750
4a6f32e6a8e5
equal deleted inserted replaced
2746:3b9547fc0bed 2747:168104895051
209 send(features); 209 send(features);
210 210
211 end 211 end
212 212
213 function streamclosed(session) 213 function streamclosed(session)
214 session.send("</stream:stream>"); 214 session.log("debug", "Received </stream:stream>");
215 session.notopen = true; 215 session:close();
216 end 216 end
217 217
218 function send_to_available_resources(user, host, stanza) 218 function send_to_available_resources(user, host, stanza)
219 local jid = user.."@"..host; 219 local jid = user.."@"..host;
220 local count = 0; 220 local count = 0;

mercurial