inverted condition

seems careless miss, but it makes client can't recieve.