Get rid of useless check

This commit is contained in:
Evgeniy Khramtsov 2011-09-05 21:06:18 +10:00
parent 2482c9c5ed
commit f3c90ee266
1 changed files with 0 additions and 1 deletions

View File

@ -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