Mercurial > prosody-hg
comparison 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 |
| parents | 9ff791c9f069 |
| children | a1e88642411d |
comparison
equal
deleted
inserted
replaced
| 7883:9ff791c9f069 | 7884:60d3b53a36f7 |
|---|---|
| 6 -- This project is MIT/X11 licensed. Please see the | 6 -- This project is MIT/X11 licensed. Please see the |
| 7 -- COPYING file in the source package for more information. | 7 -- COPYING file in the source package for more information. |
| 8 -- | 8 -- |
| 9 -- XEP-0313: Message Archive Management for Prosody | 9 -- XEP-0313: Message Archive Management for Prosody |
| 10 -- | 10 -- |
| 11 -- luacheck: ignore 122/prosody | |
| 11 | 12 |
| 12 local global_default_policy = module:get_option("default_archive_policy", true); | 13 local global_default_policy = module:get_option("default_archive_policy", true); |
| 13 | 14 |
| 14 do | 15 do |
| 15 -- luacheck: ignore 211/prefs_format | 16 -- luacheck: ignore 211/prefs_format |
