diff options
author | Waqas Hussain <waqas20@gmail.com> | 2014-06-01 04:42:55 -0400 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2014-06-01 04:42:55 -0400 |
commit | 13bb4e436c4327c969f49984eac471a4c82de9df (patch) | |
tree | 1a44fd5f6e2d53e67d7e40f11190d91aa0083c89 /plugins | |
parent | 3799eafb2f66e9c279a0786dc54202cf54d20cca (diff) | |
download | prosody-13bb4e436c4327c969f49984eac471a4c82de9df.tar.gz prosody-13bb4e436c4327c969f49984eac471a4c82de9df.zip |
plugins/muc/muc.lib: Fix whois check when broadcasting occupant presence
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/muc/muc.lib.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua index 1fc922d4..db7c3592 100644 --- a/plugins/muc/muc.lib.lua +++ b/plugins/muc/muc.lib.lua @@ -224,7 +224,7 @@ function room_mt:publicise_occupant_status(occupant, base_x, nick, actor, reason for nick, n_occupant in self:each_occupant() do if nick ~= occupant.nick then local pr; - if can_see_real_jids(whois, occupant) or occupant.bare_jid == n_occupant.bare_jid then + if can_see_real_jids(whois, n_occupant) or occupant.bare_jid == n_occupant.bare_jid then pr = full_p; else pr = get_anon_p(); |