aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-05-29 22:54:52 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-05-29 22:54:52 +0500
commita32e7b01653a9e334d6a4b672c97c5e1e413eb01 (patch)
treee5cc0606d398c313caa1e1234c04437e53810c83
parent181449df77a3caeb7344766e756e64743d8f2874 (diff)
downloadprosody-a32e7b01653a9e334d6a4b672c97c5e1e413eb01.tar.gz
prosody-a32e7b01653a9e334d6a4b672c97c5e1e413eb01.zip
Added globals bare_sessions and full_sessions, which map bare and full JIDs to sessions.
-rwxr-xr-xprosody3
1 files changed, 2 insertions, 1 deletions
diff --git a/prosody b/prosody
index cd8816b1..bbc13273 100755
--- a/prosody
+++ b/prosody
@@ -68,7 +68,8 @@ require "util.dependencies"
--- Load socket framework
local server = require "net.server"
-
+bare_sessions = {};
+full_sessions = {};
hosts = {};
--- Load and initialise core modules