diff plugins/mod_message.lua @ 7719:17c7e3ac47f7

Merge 0.10->trunk
author Kim Alvefur <zash@zash.se>
date Thu, 17 Nov 2016 23:20:41 +0100
parents c58075c4d375
children beaeafedc2d7
line wrap: on
line diff
--- a/plugins/mod_message.lua	Sat Nov 05 00:28:30 2016 +0100
+++ b/plugins/mod_message.lua	Thu Nov 17 23:20:41 2016 +0100
@@ -73,13 +73,13 @@
 	else -- resource not online
 		return process_to_bare(jid_bare(stanza.attr.to), origin, stanza);
 	end
-end);
+end, -1);
 
 module:hook("message/bare", function(data)
 	-- message to bare JID recieved
 	local origin, stanza = data.origin, data.stanza;
 
 	return process_to_bare(stanza.attr.to or (origin.username..'@'..origin.host), origin, stanza);
-end);
+end, -1);
 
 module:add_feature("msgoffline");