Diff

core/presencemanager.lua @ 565:3a49d85cafbc

Backed out changeset 099d8a102deb (committed too much)
author Matthew Wild <mwild1@gmail.com>
date Fri, 05 Dec 2008 19:49:16 +0000
parent 563:099d8a102deb
child 615:4ae3e81513f3
line wrap: on
line diff
--- a/core/presencemanager.lua	Fri Dec 05 19:24:01 2008 +0000
+++ b/core/presencemanager.lua	Fri Dec 05 19:49:16 2008 +0000
@@ -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 @@
 	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)