Software /
code /
prosody
Comparison
core/sessionmanager.lua @ 41:68297fef35ff
An oops in sessionmanager stream:features code :)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 03 Oct 2008 22:21:01 +0100 |
parent | 40:2c0147bbd81a |
child | 44:80d2ade0fd69 |
comparison
equal
deleted
inserted
replaced
40:2c0147bbd81a | 41:68297fef35ff |
---|---|
73 modulemanager.fire_event("stream-features", session, features); | 73 modulemanager.fire_event("stream-features", session, features); |
74 | 74 |
75 send("<stream:features>"); | 75 send("<stream:features>"); |
76 | 76 |
77 for _, feature in ipairs(features) do | 77 for _, feature in ipairs(features) do |
78 send_to_session(session, tostring(features)); | 78 send_to_session(session, tostring(feature)); |
79 end | 79 end |
80 | 80 |
81 send("</stream:features>"); | 81 send("</stream:features>"); |
82 log("info", "core", "Stream opened successfully"); | 82 log("info", "core", "Stream opened successfully"); |
83 session.notopen = nil; | 83 session.notopen = nil; |