aboutsummaryrefslogtreecommitdiffstats
path: root/core/s2smanager.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-11-02 02:02:41 +0000
committerMatthew Wild <mwild1@gmail.com>2008-11-02 02:02:41 +0000
commit8b4c555bd18b02b28c5189775c5988f6de31ca02 (patch)
tree8c2a9e2fc3170d95560df36976130bd87582d0c8 /core/s2smanager.lua
parent130049e2310b5fb16de7ddf7e2555f982cc4dae6 (diff)
parent02b083a7471024fa6f01afaf80ed0817c3bfd061 (diff)
downloadprosody-8b4c555bd18b02b28c5189775c5988f6de31ca02.tar.gz
prosody-8b4c555bd18b02b28c5189775c5988f6de31ca02.zip
merge from waqas
Diffstat (limited to 'core/s2smanager.lua')
-rw-r--r--core/s2smanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua
index b2e498bd..7855181e 100644
--- a/core/s2smanager.lua
+++ b/core/s2smanager.lua
@@ -57,7 +57,7 @@ end
local open_sessions = 0;
function new_incoming(conn)
- local session = { conn = conn, priority = 0, type = "s2sin_unauthed", direction = "incoming" };
+ local session = { conn = conn, type = "s2sin_unauthed", direction = "incoming" };
if true then
session.trace = newproxy(true);
getmetatable(session.trace).__gc = function () open_sessions = open_sessions - 1; print("s2s session got collected, now "..open_sessions.." s2s sessions are allocated") end;