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 |