aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-03-11 13:13:20 +0100
committerKim Alvefur <zash@zash.se>2016-03-11 13:13:20 +0100
commit421cbe1c1a9ba71530200678915a95e25f7c3a3b (patch)
tree94609f3e6c5e84179e3b65b11080150cc03b2e6f
parentbc0ce12e970104cda92fe0a8debf00ebab81b3da (diff)
downloadprosody-421cbe1c1a9ba71530200678915a95e25f7c3a3b.tar.gz
prosody-421cbe1c1a9ba71530200678915a95e25f7c3a3b.zip
mod_presence: Use type-specific config API for boolean 'ignore_presence_priority' option
-rw-r--r--plugins/mod_presence.lua2
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