# HG changeset patch # User Kim Alvefur # Date 1453223064 -3600 # Node ID ae98bb884110616ce03fab059fa5c1421f60e73d # Parent 6f4dcc723a606ac6c23516413f80bafa322dba28 mod_mam: Fix Top Level Error from string[table] = nil instead of table[string] = nil diff -r 6f4dcc723a60 -r ae98bb884110 mod_mam/mod_mam.lua --- a/mod_mam/mod_mam.lua Tue Jan 19 17:59:05 2016 +0100 +++ b/mod_mam/mod_mam.lua Tue Jan 19 18:04:24 2016 +0100 @@ -306,7 +306,7 @@ if not ok then module:log("warn", "Could not expire archives for user %s: %s", user, err); end - user[cleanup] = nil; + cleanup[user] = nil; end return cleanup_interval; end);