diff options
author | Kim Alvefur <zash@zash.se> | 2018-07-29 18:34:38 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-07-29 18:34:38 +0200 |
commit | 56130876eb64bcaf62c71babfa34888ba5364f43 (patch) | |
tree | b378db90b99e1bbcfa4f04df0aefd18321e38cee /net/server.lua | |
parent | f12bf9ef07fb112e0964ef90c1a7224fc55d4fd5 (diff) | |
download | prosody-56130876eb64bcaf62c71babfa34888ba5364f43.tar.gz prosody-56130876eb64bcaf62c71babfa34888ba5364f43.zip |
mod_pep_plus: Fix boolean logic precedence (thanks Link Mauve)
In case of 'from' subscription to a JID without node, eg a component,
the condition becomes true and update_subscriptions() is called with
contact_node = nil, which causes a traceback.
Diffstat (limited to 'net/server.lua')
0 files changed, 0 insertions, 0 deletions