Software /
code /
prosody-modules
Changeset
2025:ae98bb884110
mod_mam: Fix Top Level Error from string[table] = nil instead of table[string] = nil
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 19 Jan 2016 18:04:24 +0100 |
parents | 2024:6f4dcc723a60 |
children | 2026:8397008b4a26 |
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 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);