plugins/mod_message.lua
changeset 8731 41c959c5c84b
parent 8144 03714861f8fc
child 11486 671f6b867e0d
--- a/plugins/mod_message.lua	Thu Apr 05 19:37:32 2018 +0200
+++ b/plugins/mod_message.lua	Sun Feb 04 01:51:25 2018 +0100
@@ -63,7 +63,7 @@
 end
 
 module:hook("message/full", function(data)
-	-- message to full JID recieved
+	-- message to full JID received
 	local origin, stanza = data.origin, data.stanza;
 
 	local session = full_sessions[stanza.attr.to];
@@ -75,7 +75,7 @@
 end, -1);
 
 module:hook("message/bare", function(data)
-	-- message to bare JID recieved
+	-- message to bare JID received
 	local origin, stanza = data.origin, data.stanza;
 
 	return process_to_bare(stanza.attr.to or (origin.username..'@'..origin.host), origin, stanza);