]> granicus.if.org Git - ejabberd/commitdiff
Retrieve parenthesis for easy reading, lost in old commit 9deb294
authorBadlop <badlop@process-one.net>
Wed, 25 May 2016 10:44:05 +0000 (12:44 +0200)
committerBadlop <badlop@process-one.net>
Wed, 25 May 2016 10:44:05 +0000 (12:44 +0200)
src/mod_muc_room.erl

index 211b1eaa88a36c74ad485043b67eac3f34b5818c..499c4dc01c040dfce9b45b104d165b9e2dab6b1b 100644 (file)
@@ -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,