aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_presence.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-03-11 13:41:10 +0100
committerKim Alvefur <zash@zash.se>2016-03-11 13:41:10 +0100
commitc12ebaa5ce7d55c66361757d773e67b62d2e719e (patch)
tree3731b00879faf7182108cc277a9a2c61e5fdc0d0 /plugins/mod_presence.lua
parentb201dabbfdf598f0d300bc9682444bd435611063 (diff)
parent3cee8c1473a0938b58ec0ed93c266c33ec26a4a6 (diff)
downloadprosody-c12ebaa5ce7d55c66361757d773e67b62d2e719e.tar.gz
prosody-c12ebaa5ce7d55c66361757d773e67b62d2e719e.zip
Merge 0.10->trunk
Diffstat (limited to 'plugins/mod_presence.lua')
-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