Diff

plugins/archive.lua @ 428:bde804b01f28

Fix typos (thanks Link Mauve and codespell)
author Kim Alvefur <zash@zash.se>
date Mon, 24 Dec 2018 17:35:07 +0100
parent 427:fafb3639d4aa
child 457:73d4eb93657b
line wrap: on
line diff
--- a/plugins/archive.lua	Mon Dec 24 17:34:46 2018 +0100
+++ b/plugins/archive.lua	Mon Dec 24 17:35:07 2018 +0100
@@ -62,9 +62,9 @@
 				callback(false, reply:get_error())
 				return true;
 			end
-			local finnished = reply:get_child("fin", xmlns_mam)
-			if finnished then
-				local rset = rsm.get(finnished);
+			local finished = reply:get_child("fin", xmlns_mam)
+			if finished then
+				local rset = rsm.get(finished);
 				for k,v in pairs(rset or NULL) do results[k]=v; end
 			end
 			callback(results);