Diff

plugins/mod_uptime.lua @ 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
parent 2016:5d47cfa4b2a0
child 2923:b7049746bd29
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);