Diff

plugins/mod_presence.lua @ 8728:41c959c5c84b

Fix spelling throughout the codebase [codespell]
author Kim Alvefur <zash@zash.se>
date Sun, 04 Feb 2018 01:51:25 +0100
parent 8579:801ae5cb1341
child 9671:e50559a42dfe
child 9788:f47b2ab877d0
line wrap: on
line diff
--- a/plugins/mod_presence.lua	Thu Apr 05 19:37:32 2018 +0200
+++ b/plugins/mod_presence.lua	Sun Feb 04 01:51:25 2018 +0100
@@ -253,7 +253,7 @@
 end
 
 local outbound_presence_handler = function(data)
-	-- outbound presence recieved
+	-- outbound presence received
 	local origin, stanza = data.origin, data.stanza;
 
 	local to = stanza.attr.to;
@@ -281,7 +281,7 @@
 module:hook("pre-presence/host", outbound_presence_handler);
 
 module:hook("presence/bare", function(data)
-	-- inbound presence to bare JID recieved
+	-- inbound presence to bare JID received
 	local origin, stanza = data.origin, data.stanza;
 
 	local to = stanza.attr.to;
@@ -307,7 +307,7 @@
 	return true;
 end);
 module:hook("presence/full", function(data)
-	-- inbound presence to full JID recieved
+	-- inbound presence to full JID received
 	local origin, stanza = data.origin, data.stanza;
 
 	local t = stanza.attr.type;