# HG changeset patch # User Waqas Hussain # Date 1255887941 -18000 # Node ID 347799c9caa6aac7dc7551b03340c4ab3ec0f3a2 # Parent 5d47cfa4b2a0530a30cf5a57a81fde6fb1c9f56b mod_uptime: Removed event hook for iq/bare. mod_uptime only deals with iq/host queries. diff -r 5d47cfa4b2a0 -r 347799c9caa6 plugins/mod_uptime.lua --- 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);