projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
516ab14
)
mod_muc: Fix incorrect variable name
author
Matthew Wild
<mwild1@gmail.com>
Tue, 21 May 2013 09:10:28 +0000
(10:10 +0100)
committer
Matthew Wild
<mwild1@gmail.com>
Tue, 21 May 2013 09:10:28 +0000
(10:10 +0100)
plugins/muc/muc.lib.lua
patch
|
blob
|
history
diff --git
a/plugins/muc/muc.lib.lua
b/plugins/muc/muc.lib.lua
index 1ea231f3de198543d3ce02ff77a75e54cdf098a9..1f725cf79a838cc9c4ec13dfdb9c18e157d28c10 100644
(file)
--- a/
plugins/muc/muc.lib.lua
+++ b/
plugins/muc/muc.lib.lua
@@
-1055,7
+1055,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