aboutsummaryrefslogtreecommitdiffstats
path: root/core/sessionmanager.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-10-04 17:59:32 +0100
committerMatthew Wild <mwild1@gmail.com>2008-10-04 17:59:32 +0100
commit5239107016cf58af6ac10d9b8a436b4da2ff130c (patch)
tree2002b9721edf15094f86b1fa98283bc82316ccb3 /core/sessionmanager.lua
parent8200def62a6645dd5c510069a475196b9528f5e4 (diff)
downloadprosody-5239107016cf58af6ac10d9b8a436b4da2ff130c.tar.gz
prosody-5239107016cf58af6ac10d9b8a436b4da2ff130c.zip
Fix setting resource before we even know what it is
Diffstat (limited to 'core/sessionmanager.lua')
-rw-r--r--core/sessionmanager.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/sessionmanager.lua b/core/sessionmanager.lua
index 3366120e..a7a9ff10 100644
--- a/core/sessionmanager.lua
+++ b/core/sessionmanager.lua
@@ -66,7 +66,6 @@ end
function make_authenticated(session, username)
session.username = username;
- session.resource = resource;
if session.type == "c2s_unauthed" then
session.type = "c2s";
end