projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2721e3
)
mod_uptime: Removed event hook for iq/bare. mod_uptime only deals with iq/host queries.
author
Waqas Hussain
<waqas20@gmail.com>
Sun, 18 Oct 2009 17:45:41 +0000
(22:45 +0500)
committer
Waqas Hussain
<waqas20@gmail.com>
Sun, 18 Oct 2009 17:45:41 +0000
(22:45 +0500)
plugins/mod_uptime.lua
patch
|
blob
|
history
diff --git
a/plugins/mod_uptime.lua
b/plugins/mod_uptime.lua
index 5ab97c581a992029124c665aba4e4555907fce46..cf6c6b64785480f6a5251ab7ecd69b53ccffb479 100644
(file)
--- 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);