core/s2smanager.lua

changeset 1199
db2a55fe94f2
parent 1075
831c84cbf5fa
child 1204
dea89234e545
equal deleted inserted replaced
1198:545c81364939 1199:db2a55fe94f2
304 session.notopen = nil; 304 session.notopen = nil;
305 end 305 end
306 306
307 function streamclosed(session) 307 function streamclosed(session)
308 (session.log or log)("debug", "</stream:stream>"); 308 (session.log or log)("debug", "</stream:stream>");
309 session.sends2s("</stream:stream>"); 309 if session.sends2s then
310 session.sends2s("</stream:stream>");
311 end
310 session.notopen = true; 312 session.notopen = true;
311 end 313 end
312 314
313 function initiate_dialback(session) 315 function initiate_dialback(session)
314 -- generate dialback key 316 -- generate dialback key

mercurial