diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-06-22 02:58:28 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-06-22 02:58:28 +0100 |
commit | 04d4fb4a735cf69c467e9f5782603e4c8364a099 (patch) | |
tree | 78175632d81a6e32fdffc34f42c3ed6555e10e4b /core | |
parent | e418f8a9c642c2b0c1ab06160441de068350ac72 (diff) | |
download | prosody-04d4fb4a735cf69c467e9f5782603e4c8364a099.tar.gz prosody-04d4fb4a735cf69c467e9f5782603e4c8364a099.zip |
sessionmanager: Fire event on resource bind
Diffstat (limited to 'core')
-rw-r--r-- | core/sessionmanager.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/sessionmanager.lua b/core/sessionmanager.lua index 19943db0..103533de 100644 --- a/core/sessionmanager.lua +++ b/core/sessionmanager.lua @@ -149,6 +149,8 @@ function bind_resource(session, resource) session.roster = rm_load_roster(session.username, session.host); + hosts[session.host].events.fire_event("resource-bind", session); + return true; end |