Added globals bare_sessions and full_sessions, which map bare and full JIDs to sessions.

Fri, 29 May 2009 22:54:52 +0500

author
Waqas Hussain <waqas20@gmail.com>
date
Fri, 29 May 2009 22:54:52 +0500
changeset 1221
23c7d41ca93c
parent 1220
8e977f4262b4
child 1222
dd1616a81c49

Added globals bare_sessions and full_sessions, which map bare and full JIDs to sessions.

prosody file | annotate | diff | comparison | revisions
--- 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

mercurial