aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2008-10-22 21:20:47 +0500
committerWaqas Hussain <waqas20@gmail.com>2008-10-22 21:20:47 +0500
commitfa8d0e13a39c58b4709a5644799337f7b1d6ba70 (patch)
treebf83c50cb8ef551a23997097830cd64c335388aa
parentdffccde8c2a3cfef6353400ecb15572022704a6e (diff)
downloadprosody-fa8d0e13a39c58b4709a5644799337f7b1d6ba70.tar.gz
prosody-fa8d0e13a39c58b4709a5644799337f7b1d6ba70.zip
Added: TODO
-rw-r--r--core/sessionmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/sessionmanager.lua b/core/sessionmanager.lua
index c216b8da..fc22d433 100644
--- a/core/sessionmanager.lua
+++ b/core/sessionmanager.lua
@@ -84,7 +84,7 @@ function bind_resource(session, resource)
else
if hosts[session.host].sessions[session.username].sessions[resource] then
-- Resource conflict
- return false, "conflict";
+ return false, "conflict"; -- TODO kick old resource
end
end