# HG changeset patch # User Matthew Wild # Date 1245635908 -3600 # Node ID 03d8a930053f3019f8a5c9c26d4478c8b138e177 # Parent d09ecc8ee1ef80c5a6c35eb6d2cf33e00ce81480 sessionmanager: Fire event on resource bind diff -r d09ecc8ee1ef -r 03d8a930053f core/sessionmanager.lua --- a/core/sessionmanager.lua Mon Jun 22 02:58:05 2009 +0100 +++ b/core/sessionmanager.lua Mon Jun 22 02:58:28 2009 +0100 @@ -149,6 +149,8 @@ session.roster = rm_load_roster(session.username, session.host); + hosts[session.host].events.fire_event("resource-bind", session); + return true; end