Software /
code /
prosody
Diff
plugins/mod_mam/mamprefs.lib.lua @ 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 |
parent | 7883:9ff791c9f069 |
child | 7979:a1e88642411d |
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);