Software /
code /
prosody-modules
Diff
mod_mam/mod_mam.lua @ 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 |
parent | 2024:6f4dcc723a60 |
child | 2030:66156e4d5274 |
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);