diff options
author | Matthew Wild <mwild1@gmail.com> | 2013-05-21 10:10:28 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2013-05-21 10:10:28 +0100 |
commit | 143f92b5dd5e451090949063b1a320e0125864b8 (patch) | |
tree | e8f9f6dce4ad4996794b8ca937ad8607fce7190a /plugins | |
parent | cdbc34115cfdf9d54bd9b7cac50c3b4fcdbc4d04 (diff) | |
download | prosody-143f92b5dd5e451090949063b1a320e0125864b8.tar.gz prosody-143f92b5dd5e451090949063b1a320e0125864b8.zip |
mod_muc: Fix incorrect variable name
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 ed9f554b..e1deab99 100644 --- a/plugins/muc/muc.lib.lua +++ b/plugins/muc/muc.lib.lua @@ -1008,7 +1008,7 @@ function room_mt:get_role(nick) end function room_mt:can_set_role(actor_jid, occupant_jid, role) local occupant = self._occupants[occupant_jid]; - if not occupant or not actor then return nil, "modify", "not-acceptable"; end + if not occupant or not actor_jid then return nil, "modify", "not-acceptable"; end if actor_jid == true then return true; end |