Changeset

1221:23c7d41ca93c

Added globals bare_sessions and full_sessions, which map bare and full JIDs to sessions.
author Waqas Hussain <waqas20@gmail.com>
date Fri, 29 May 2009 22:54:52 +0500
parents 1220:8e977f4262b4
children 1222:dd1616a81c49
files prosody
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/prosody	Fri May 29 22:51:56 2009 +0500
+++ b/prosody	Fri May 29 22:54:52 2009 +0500
@@ -68,7 +68,8 @@
 --- Load socket framework
 local server = require "net.server"
 
-
+bare_sessions = {};
+full_sessions = {};
 hosts = {};
 
 --- Load and initialise core modules