Patch to IRC bot. -- Fix bad check.