cinchrb/cinch — pull request #116 by Elberet (2013-04-11 06:05:41+00:00)
Title: Fix bugs in tracking bot's own usermodes

These changes fix two bugs in how the bot tracks its own usermodes:
1. The `@modes` array retains its values between reconnect attempts; this results in modes not being set when the bot reconnects to IRC.
2. When actively setting modes, modes are added a second time to `@modes` when `Cinch::IRC` handles the _MODE_ message.