# HG changeset patch # User Kim Alvefur # Date 1493289713 -7200 # Node ID 484ea6201c6c28793c6d1a94fea5264811e12889 # Parent aba6d148e674f4bd886c2c3bd57772a9fc3de905 mod_mam: Use correct variable diff -r aba6d148e674 -r 484ea6201c6c 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