aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_mam
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-02-04 00:59:10 +0100
committerKim Alvefur <zash@zash.se>2017-02-04 00:59:10 +0100
commit0e99534951484e5c1ab98897272c92ea6b13f8ff (patch)
treeb63cd49fd47c5351c23213c48cf74bf701d0e3e4 /plugins/mod_mam
parent310110c75d32ca27d60b97c9fa1dccc9099584ad (diff)
downloadprosody-0e99534951484e5c1ab98897272c92ea6b13f8ff.tar.gz
prosody-0e99534951484e5c1ab98897272c92ea6b13f8ff.zip
mod_mam: Ignore "indirectly mutating read-only global variable prosody" warning [luacheck]
Diffstat (limited to 'plugins/mod_mam')
-rw-r--r--plugins/mod_mam/mamprefs.lib.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_mam/mamprefs.lib.lua b/plugins/mod_mam/mamprefs.lib.lua
index 09efc006..a561b9d5 100644
--- a/plugins/mod_mam/mamprefs.lib.lua
+++ b/plugins/mod_mam/mamprefs.lib.lua
@@ -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);