Should this (and friends) also make sure to clear any pending requests? It's not that uncommon to have a quick join/part cycle, perhaps ending up with the PART hitting before nickserv replies?