mod_mam/mod_mam.lua
changeset 711 53afd87f3612
parent 707 f987c7b79008
child 751 3c37445f26ac
equal deleted inserted replaced
710:b0c0acccd7c4 711:53afd87f3612
   191 			if qset then
   191 			if qset then
   192 				if qset.after == id then
   192 				if qset.after == id then
   193 					module:log("debug", "Start of matching range found");
   193 					module:log("debug", "Start of matching range found");
   194 					qset_matches = true;
   194 					qset_matches = true;
   195 				end
   195 				end
   196 				if n >= qmax then
   196 			end
   197 					module:log("debug", "Max number of items matched");
   197 			if n >= qmax then
   198 					break
   198 				module:log("debug", "Max number of items matched");
   199 				end
   199 				break
   200 			end
   200 			end
   201 		end
   201 		end
   202 		-- That's all folks!
   202 		-- That's all folks!
   203 		module:log("debug", "Archive query %s completed", tostring(qid));
   203 		module:log("debug", "Archive query %s completed", tostring(qid));
   204 
   204