Changeset

8137:484ea6201c6c

mod_mam: Use correct variable
author Kim Alvefur <zash@zash.se>
date Thu, 27 Apr 2017 12:41:53 +0200
parents 8136:aba6d148e674
children 8138:cb605fb60e32
files plugins/mod_mam/mod_mam.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_mam/mod_mam.lua	Thu Apr 27 10:58:02 2017 +0200
+++ b/plugins/mod_mam/mod_mam.lua	Thu Apr 27 12:41:53 2017 +0200
@@ -139,7 +139,7 @@
 		limit = qmax + 1;
 		before = before; after = after;
 		reverse = reverse;
-		total = get_total;
+		total = use_total;
 	});
 
 	if not data then