diff options
author | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2011-09-05 21:06:18 +1000 |
---|---|---|
committer | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2011-09-05 21:06:18 +1000 |
commit | f3c90ee2661154d77afe045a7f2045f33d8beeda (patch) | |
tree | 04e9f0f0b5b25463489a7cfc94e761172e18cab8 | |
parent | Merge set_affiliation/3 and set_affiliation_and_reason/4 into set_affiliation/4 (diff) |
Get rid of useless check
-rw-r--r-- | src/mod_muc/mod_muc_room.erl | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mod_muc/mod_muc_room.erl b/src/mod_muc/mod_muc_room.erl index 171279f17..abb53e032 100644 --- a/src/mod_muc/mod_muc_room.erl +++ b/src/mod_muc/mod_muc_room.erl @@ -1622,7 +1622,6 @@ add_new_user(From, Nick, {xmlelement, _, Attrs, Els} = Packet, StateData) -> mod_muc, max_user_conferences, 10), Collision = nick_collision(From, Nick, StateData), case {(ServiceAffiliation == owner orelse - MaxUsers == none orelse ((Affiliation == admin orelse Affiliation == owner) andalso NUsers < MaxAdminUsers) orelse NUsers < MaxUsers) andalso |