wrong operator

Used the assignment operator, instead of the comparison one...