aboutsummaryrefslogtreecommitdiffstats
path: root/core/presencemanager.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-12-05 19:50:34 +0000
committerMatthew Wild <mwild1@gmail.com>2008-12-05 19:50:34 +0000
commitfe6e46a55f68f566290250655247cd1393ae6d2c (patch)
tree1cf6e6e0fad1a9efd467895c02e748522dc2ca06 /core/presencemanager.lua
parentb2afc52730ae023a4fa3c4da525b3d1f92e5f1b9 (diff)
parentc016526d9d5b57c8b6157cba7eee4bb268e1e9b4 (diff)
downloadprosody-fe6e46a55f68f566290250655247cd1393ae6d2c.tar.gz
prosody-fe6e46a55f68f566290250655247cd1393ae6d2c.zip
Merge
Diffstat (limited to 'core/presencemanager.lua')
-rw-r--r--core/presencemanager.lua9
1 files changed, 0 insertions, 9 deletions
diff --git a/core/presencemanager.lua b/core/presencemanager.lua
index dbcb83d6..6e27752b 100644
--- a/core/presencemanager.lua
+++ b/core/presencemanager.lua
@@ -21,7 +21,6 @@
local log = require "util.logger".init("presencemanager")
-local tostring = tostring;
local require = require;
local pairs, ipairs = pairs, ipairs;
local t_concat = table.concat;
@@ -122,14 +121,6 @@ function handle_normal_presence(origin, stanza, core_route_stanza)
else
log("error", "presence recieved from client with no roster");
end
-
- if origin.conntimetotal then
- local session = origin;
- origin.log("BLAH", "***********\n\n\n\n\n\n****************");
- origin.send(st.stanza("message", { from = session.host, to=session.full_jid, type = "normal" }):body("Your login took "..tostring(session.conntimetotal).." seconds"));
- origin.conntimetotal = nil;
- end
-
end
function send_presence_of_available_resources(user, host, jid, recipient_session, core_route_stanza)