From 2eb8cf191a1cfdeedf38c18b8ad07d2b8f760581 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Wed, 21 Oct 2009 11:29:43 +0500 Subject: mod_lastactivity: Gave a positive priority to the presence event hook. --- plugins/mod_lastactivity.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/mod_lastactivity.lua') 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; -- cgit v1.2.3