diff options
author | Badlop <badlop@process-one.net> | 2016-05-25 12:44:05 +0200 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2016-05-25 12:44:05 +0200 |
commit | ca329826cbf751cb87e8d6b79791457e4890b910 (patch) | |
tree | de75ddb0d1ab7955e33aec570dc74de1f3fcfc29 /src/mod_muc_room.erl | |
parent | Merge pull request #1131 from weiss/failed-resume-h (diff) |
Retrieve parenthesis for easy reading, lost in old commit 9deb294
Diffstat (limited to 'src/mod_muc_room.erl')
-rw-r--r-- | src/mod_muc_room.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_muc_room.erl b/src/mod_muc_room.erl index 211b1eaa..499c4dc0 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, |