Changeset

2029:d2363643a5c0

mod_lastactivity: Gave a positive priority to the presence event hook.
author Waqas Hussain <waqas20@gmail.com>
date Wed, 21 Oct 2009 11:29:43 +0500
parents 2028:4f33100195a0
children 2030:d9382a16af5b
files plugins/mod_lastactivity.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_lastactivity.lua	Wed Oct 21 02:18:17 2009 +0500
+++ b/plugins/mod_lastactivity.lua	Wed Oct 21 11:29:43 2009 +0500
@@ -23,7 +23,7 @@
 		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;