From ca329826cbf751cb87e8d6b79791457e4890b910 Mon Sep 17 00:00:00 2001 From: Badlop Date: Wed, 25 May 2016 12:44:05 +0200 Subject: [PATCH] Retrieve parenthesis for easy reading, lost in old commit 9deb294 --- src/mod_muc_room.erl | 4 ++-- 1 file 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,