GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
If the server password sent contains spaces the argument has to have a colon prepended to it so that the whole password is recognized as a single argument by the server. WeeChat currently just sends PASS <password>.
(For reference: znc/znc#1188)
@flashcode I fear your fix breaks some IRCds when password without space is used. See hexchat/hexchat#1550 and the easiest fix would probably be irssi/irssi#362 (comment).
OK, I'll update accordingly.
irc: add a condition for colon before the password in PASS message (i…
Some weird IRC servers may refuse a PASS command with a colon, so we
send a colon only if the password contains spaces or begins with a
@Mikaela: it should be better with the second commit.