diff options
author | Kim Alvefur <zash@zash.se> | 2016-03-11 13:13:20 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-03-11 13:13:20 +0100 |
commit | a574e5c9179d4234234e422d4ee82a67b5266dcc (patch) | |
tree | 94609f3e6c5e84179e3b65b11080150cc03b2e6f /plugins/mod_presence.lua | |
parent | be0be10923489500bb00468e07e198796d38f6b9 (diff) | |
download | prosody-a574e5c9179d4234234e422d4ee82a67b5266dcc.tar.gz prosody-a574e5c9179d4234234e422d4ee82a67b5266dcc.zip |
mod_presence: Use type-specific config API for boolean 'ignore_presence_priority' option
Diffstat (limited to 'plugins/mod_presence.lua')
-rw-r--r-- | plugins/mod_presence.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_presence.lua b/plugins/mod_presence.lua index ab57a158..76394baf 100644 --- a/plugins/mod_presence.lua +++ b/plugins/mod_presence.lua @@ -51,7 +51,7 @@ local function recalc_resource_map(user) end end -local ignore_presence_priority = module:get_option("ignore_presence_priority"); +local ignore_presence_priority = module:get_option_boolean("ignore_presence_priority", false); function handle_normal_presence(origin, stanza) if ignore_presence_priority then |