ElementalAlchemist/txircd — pull request #71 by Heufneutje (2014-09-14 18:39:25+00:00)
Title: Make sure statuses are set before unsetting them and check mode permission

This PR addresses a bug that occurs when you're trying to remove a status with someone with a higher rank than you, which the IRCd allows just fine. It also doesn't check to make sure if the status is even set to begin with, so you're getting MODE commands unsetting a status that is not set.