mod_mam/mod_mam.lua
changeset 711 53afd87f3612
parent 707 f987c7b79008
child 751 3c37445f26ac
--- a/mod_mam/mod_mam.lua	Mon Jun 11 00:35:26 2012 +0000
+++ b/mod_mam/mod_mam.lua	Mon Jun 11 16:54:32 2012 +0200
@@ -193,10 +193,10 @@
 					module:log("debug", "Start of matching range found");
 					qset_matches = true;
 				end
-				if n >= qmax then
-					module:log("debug", "Max number of items matched");
-					break
-				end
+			end
+			if n >= qmax then
+				module:log("debug", "Max number of items matched");
+				break
 			end
 		end
 		-- That's all folks!