changeset 2725:210c3a7644cb

mod_mam: Use correct variable
author Kim Alvefur <zash@zash.se>
date Thu, 27 Apr 2017 12:41:53 +0200
parents 9f17d0f28d77
children 55f3ab952d06
files mod_mam/mod_mam.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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