Comparison

plugins/mod_mam/mamprefs.lib.lua @ 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
parent 7851:80ee0d9cd56f
child 7883:9ff791c9f069
comparison
equal deleted inserted replaced
7854:68c5476960be 7855:e429982940fc
10 -- 10 --
11 11
12 local global_default_policy = module:get_option("default_archive_policy", true); 12 local global_default_policy = module:get_option("default_archive_policy", true);
13 13
14 do 14 do
15 -- luacheck: ignore 211/prefs_format
15 local prefs_format = { 16 local prefs_format = {
16 [false] = "roster", 17 [false] = "roster",
17 -- default ::= true | false | "roster" 18 -- default ::= true | false | "roster"
18 -- true = always, false = never, nil = global default 19 -- true = always, false = never, nil = global default
19 ["romeo@montague.net"] = true, -- always 20 ["romeo@montague.net"] = true, -- always