Merge 0.9->0.10

This commit is contained in:
Kim Alvefur 2015-08-10 22:16:05 +02:00
commit b49513cdeb

View file

@ -85,6 +85,7 @@ function module.add_host(module)
session.type = "component";
module:log("info", "External component successfully authenticated");
session.send(st.stanza("handshake"));
module:fire_event("component-authenticated", { session = session });
return true;
end