diff options
author | Waqas Hussain <waqas20@gmail.com> | 2009-10-21 11:29:43 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2009-10-21 11:29:43 +0500 |
commit | 2eb8cf191a1cfdeedf38c18b8ad07d2b8f760581 (patch) | |
tree | dc515df7265fb76c6d420ef75a123f3a3131919f /plugins/mod_lastactivity.lua | |
parent | ad95597ac2378d4e6d6bb09a95ed8cf1ee17e9ec (diff) | |
download | prosody-2eb8cf191a1cfdeedf38c18b8ad07d2b8f760581.tar.gz prosody-2eb8cf191a1cfdeedf38c18b8ad07d2b8f760581.zip |
mod_lastactivity: Gave a positive priority to the presence event hook.
Diffstat (limited to 'plugins/mod_lastactivity.lua')
-rw-r--r-- | plugins/mod_lastactivity.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_lastactivity.lua b/plugins/mod_lastactivity.lua index cb914fe3..a0da9829 100644 --- a/plugins/mod_lastactivity.lua +++ b/plugins/mod_lastactivity.lua @@ -23,7 +23,7 @@ module:hook("pre-presence/bare", function(event) s = s and #s.tags == 0 and s[1] or ""; map[event.origin.username] = {s = s, t = t}; end -end); +end, 10); module:hook("iq/bare/jabber:iq:last:query", function(event) local origin, stanza = event.origin, event.stanza; |