]> jfr.im git - irc/irssi/irssi.git/commit
irc-cap: Don't send a space at the beginning of the CAP REQ parameter
authordequis <redacted>
Thu, 26 Nov 2015 22:50:58 +0000 (19:50 -0300)
committerdequis <redacted>
Thu, 26 Nov 2015 22:50:58 +0000 (19:50 -0300)
commit82ce1de5b004d27b8a742a72065feebf6d96f3ae
treec3f9d6e700ca7f8430f4429b91877a4e200254c7
parent99193e99718630b90f52e5a25c19dd9b6b7229f6
irc-cap: Don't send a space at the beginning of the CAP REQ parameter

Turns out it confuses inspircd, making it reply a NAK with empty
parameter. The rest is ACKed anyway. I've already whined at saberuk
and there's a pending pull request over there fixing this issue.

And, of course, this is cleaner.
src/irc/core/irc-cap.c