Fix SASL auth with Freenode
authorManuel Nickschas <sputnick@quassel-irc.org>
Tue, 19 Feb 2013 20:29:02 +0000 (21:29 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Tue, 19 Feb 2013 20:29:02 +0000 (21:29 +0100)
commit29a06ef6689f251b6092cfc313e94d39c9c5db95
tree8854b8c29fae394f4591323c23f7b53fe3aaad1a
parent1cc49e5bd7542366995f501adf60da4ad90869e2
Fix SASL auth with Freenode

Looks like Freenode adds a trailing space to its CAP ACK reply, so Quassel
would hang after we don't trim incoming messages anymore.

I don't particularly like the startsWith() workaround, but I guess we'll need
a more capable parser anyway, should we support more caps in the future...
src/core/coresessioneventprocessor.cpp