diff plugins/muc/mod_muc.lua @ 5946:04f2138dfa87

Merge 0.10->trunk
author Matthew Wild <mwild1@gmail.com>
date Mon, 16 Dec 2013 02:04:43 +0000
parents 51ead0aa3a02
children c68e2b11d691
line wrap: on
line diff
--- a/plugins/muc/mod_muc.lua	Fri Dec 13 12:53:14 2013 +0000
+++ b/plugins/muc/mod_muc.lua	Mon Dec 16 02:04:43 2013 +0000
@@ -164,7 +164,7 @@
 			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