Changeset

2017:347799c9caa6

mod_uptime: Removed event hook for iq/bare. mod_uptime only deals with iq/host queries.
author Waqas Hussain <waqas20@gmail.com>
date Sun, 18 Oct 2009 22:45:41 +0500
parents 2016:5d47cfa4b2a0
children 2018:418c04834017
files plugins/mod_uptime.lua
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_uptime.lua	Sun Oct 18 22:44:18 2009 +0500
+++ b/plugins/mod_uptime.lua	Sun Oct 18 22:45:41 2009 +0500
@@ -20,10 +20,3 @@
 		return true;
 	end
 end);
-
-module:hook("iq/bare/jabber:iq:last:query", function(event)
-	local origin, stanza = event.origin, event.stanza;
-	if stanza.attr.type == "get" then
-		-- TODO last activity
-	end
-end);