Changeset

1379:03d8a930053f

sessionmanager: Fire event on resource bind
author Matthew Wild <mwild1@gmail.com>
date Mon, 22 Jun 2009 02:58:28 +0100
parents 1378:d09ecc8ee1ef
children 1380:9b3b43b8963a
files core/sessionmanager.lua
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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