mod_muc: Remove extra parenthesis (thanks janhouse)
authorKim Alvefur <zash@zash.se>
Sat, 14 Dec 2013 16:25:17 +0000 (17:25 +0100)
committerKim Alvefur <zash@zash.se>
Sat, 14 Dec 2013 16:25:17 +0000 (17:25 +0100)
plugins/muc/mod_muc.lua

index c8488a85735246657b0a8d61b923be825cb636dc..edebf0704448067ccb0018e474bc0faa4481aba0 100644 (file)
@@ -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