aboutsummaryrefslogtreecommitdiffstats
path: root/core/s2smanager.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2008-11-02 06:36:42 +0500
committerWaqas Hussain <waqas20@gmail.com>2008-11-02 06:36:42 +0500
commit66ae6ceaa874b6359957322718d4a9c9862d262d (patch)
treeb727f9fdb64aafb5bfdfef1c3299d66fb234822c /core/s2smanager.lua
parent3a14c1ab216ab1ff415f03571b2928e7be1240d1 (diff)
downloadprosody-66ae6ceaa874b6359957322718d4a9c9862d262d.tar.gz
prosody-66ae6ceaa874b6359957322718d4a9c9862d262d.zip
Added resource priority handling, etc
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;