Sun, 18 Oct 2009 22:45:41 +0500
mod_uptime: Removed event hook for iq/bare. mod_uptime only deals with iq/host queries.
plugins/mod_uptime.lua | file | annotate | diff | comparison | revisions |
--- 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);