Software /
code /
prosody
Changeset
7884:60d3b53a36f7
mod_mam: Ignore "indirectly mutating read-only global variable prosody" warning [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 04 Feb 2017 00:59:10 +0100 |
parents | 7883:9ff791c9f069 |
children | 7885:236b5a6154b2 7886:679746cdf3cc |
files | plugins/mod_mam/mamprefs.lib.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_mam/mamprefs.lib.lua Sat Feb 04 00:58:48 2017 +0100 +++ b/plugins/mod_mam/mamprefs.lib.lua Sat Feb 04 00:59:10 2017 +0100 @@ -8,6 +8,7 @@ -- -- XEP-0313: Message Archive Management for Prosody -- +-- luacheck: ignore 122/prosody local global_default_policy = module:get_option("default_archive_policy", true);