# HG changeset patch # User Kim Alvefur # Date 1339426472 -7200 # Node ID 53afd87f36123d0a90df1ef83d5d3953d9d38ae7 # Parent b0c0acccd7c417bf0372767932562bd21077c429 mod_mam: Enforce max results even if RSM isn't used. diff -r b0c0acccd7c4 -r 53afd87f3612 mod_mam/mod_mam.lua --- 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!