prawnsalad / KiwiIRC

This is **DEPRECATED**! Please go to https://github.com/kiwiirc/kiwiirc
https://kiwiirc.com
GNU Affero General Public License v3.0
891 stars 277 forks source link

Add IrcConnection.capEnd() function to avoid sending CAP END twice #876

Closed dequis closed 6 years ago

dequis commented 8 years ago

Other than the correctness issue, this is needed to prevent a crash in bitlbee 3.4.2 when CAP END is sent after registration, which kiwiirc seems to trigger when it receives 900 followed by a 903 later.

The crash itself is fixed in git versions of bitlbee, but it would be nice if kiwiirc worked fine with the last release.