aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_uptime.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-10-18 22:45:41 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-10-18 22:45:41 +0500
commit78879a513451a35ab770a2c89496f0aa3a2a7e02 (patch)
tree8bc730b025fc0eb7844d3264ad2d349d10c1a29f /plugins/mod_uptime.lua
parentf4647ca54ccf7eacb3ad75baacf1f49fdc8df973 (diff)
downloadprosody-78879a513451a35ab770a2c89496f0aa3a2a7e02.tar.gz
prosody-78879a513451a35ab770a2c89496f0aa3a2a7e02.zip
mod_uptime: Removed event hook for iq/bare. mod_uptime only deals with iq/host queries.
Diffstat (limited to 'plugins/mod_uptime.lua')
-rw-r--r--plugins/mod_uptime.lua7
1 files changed, 0 insertions, 7 deletions
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);