From 78879a513451a35ab770a2c89496f0aa3a2a7e02 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Sun, 18 Oct 2009 22:45:41 +0500 Subject: mod_uptime: Removed event hook for iq/bare. mod_uptime only deals with iq/host queries. --- plugins/mod_uptime.lua | 7 ------- 1 file changed, 7 deletions(-) (limited to 'plugins/mod_uptime.lua') diff --git a/plugins/mod_uptime.lua b/plugins/mod_uptime.lua index 5ab97c58..cf6c6b64 100644 --- a/plugins/mod_uptime.lua +++ b/plugins/mod_uptime.lua @@ -20,10 +20,3 @@ module:hook("iq/host/jabber:iq:last:query", function(event) 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); -- cgit v1.2.3