mod_mam: Use correct variable
authorKim Alvefur <zash@zash.se>
Thu, 27 Apr 2017 12:41:53 +0200
changeset 2729 210c3a7644cb
parent 2728 9f17d0f28d77
child 2730 55f3ab952d06
mod_mam: Use correct variable
mod_mam/mod_mam.lua
--- a/mod_mam/mod_mam.lua	Wed Apr 26 11:46:22 2017 +0200
+++ b/mod_mam/mod_mam.lua	Thu Apr 27 12:41:53 2017 +0200
@@ -156,7 +156,7 @@
 		limit = qmax + 1;
 		before = before; after = after;
 		reverse = reverse;
-		total = get_total;
+		total = use_total;
 	});
 
 	if not data then