mod_mam: Use correct variable
authorKim Alvefur <zash@zash.se>
Thu, 27 Apr 2017 12:41:53 +0200
changeset 8140 484ea6201c6c
parent 8139 aba6d148e674
child 8141 cb605fb60e32
mod_mam: Use correct variable
plugins/mod_mam/mod_mam.lua
--- 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