Software / code / prosody
Changeset
7855:e429982940fc
mod_mam: Silence warning about unused table used to describe data format [luacheck]
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Mon, 23 Jan 2017 19:31:30 +0100 |
| parents | 7854:68c5476960be |
| children | 7856:bd5008a7dcbd |
| 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 Mon Jan 23 19:31:03 2017 +0100 +++ b/plugins/mod_mam/mamprefs.lib.lua Mon Jan 23 19:31:30 2017 +0100 @@ -12,6 +12,7 @@ local global_default_policy = module:get_option("default_archive_policy", true); do + -- luacheck: ignore 211/prefs_format local prefs_format = { [false] = "roster", -- default ::= true | false | "roster"