aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mod_muc_room.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_muc_room.erl b/src/mod_muc_room.erl
index 211b1eaa8..499c4dc01 100644
--- a/src/mod_muc_room.erl
+++ b/src/mod_muc_room.erl
@@ -1803,8 +1803,8 @@ add_new_user(From, Nick,
10),
Collision = nick_collision(From, Nick, StateData),
case {(ServiceAffiliation == owner orelse
- (Affiliation == admin orelse Affiliation == owner)
- andalso NUsers < MaxAdminUsers
+ ((Affiliation == admin orelse Affiliation == owner)
+ andalso NUsers < MaxAdminUsers)
orelse NUsers < MaxUsers)
andalso NConferences < MaxConferences,
Collision,