aboutsummaryrefslogtreecommitdiffstats
path: root/core/sessionmanager.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-12-16 02:30:24 +0000
committerMatthew Wild <mwild1@gmail.com>2008-12-16 02:30:24 +0000
commit450c6ef7fc79aeca30f65a2e3f2c242e26353257 (patch)
tree70c051bdd7cfeb89d7556f8063215bcb772dece4 /core/sessionmanager.lua
parentb1bf7f567a722afb642370edf1e1400fb2bbbf8b (diff)
downloadprosody-450c6ef7fc79aeca30f65a2e3f2c242e26353257.tar.gz
prosody-450c6ef7fc79aeca30f65a2e3f2c242e26353257.zip
Remove old debugging line from sessionmanager
Diffstat (limited to 'core/sessionmanager.lua')
-rw-r--r--core/sessionmanager.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/sessionmanager.lua b/core/sessionmanager.lua
index 169a6db2..963de7ce 100644
--- a/core/sessionmanager.lua
+++ b/core/sessionmanager.lua
@@ -113,8 +113,6 @@ function bind_resource(session, resource)
if session.resource then return nil, "cancel", "already-bound", "Cannot bind multiple resources on a single connection"; end
-- We don't support binding multiple resources
- session.conntimetotal = gettime()-session.conntime;
-
resource = resource or uuid_generate();
--FIXME: Randomly-generated resources must be unique per-user, and never conflict with existing