projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4f6b84
)
mod_muc: Remove extra parenthesis (thanks janhouse)
author
Kim Alvefur
<zash@zash.se>
Sat, 14 Dec 2013 16:25:17 +0000
(17:25 +0100)
committer
Kim Alvefur
<zash@zash.se>
Sat, 14 Dec 2013 16:25:17 +0000
(17:25 +0100)
plugins/muc/mod_muc.lua
patch
|
blob
|
history
diff --git
a/plugins/muc/mod_muc.lua
b/plugins/muc/mod_muc.lua
index c8488a85735246657b0a8d61b923be825cb636dc..edebf0704448067ccb0018e474bc0faa4481aba0 100644
(file)
--- a/
plugins/muc/mod_muc.lua
+++ b/
plugins/muc/mod_muc.lua
@@
-155,7
+155,7
@@
function stanza_handler(event)
return true;
end
if not(restrict_room_creation) or
- is_admin(stanza.attr.from)
)
or
+ is_admin(stanza.attr.from) or
(restrict_room_creation == "local" and select(2, jid_split(stanza.attr.from)) == module.host:gsub("^[^%.]+%.", "")) then
room = create_room(bare);
end