Just to clear it up, Blizzard does the same thing. It's not illegal to make sure that you're not violating the TOS.