From: F. Jason Park Date: Mon, 16 Aug 2021 04:57:24 +0000 (-0700) Subject: Make ERC respect spaces in server passwords X-Git-Tag: emacs-29.0.90~1447^2~1331 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4e312c07f7a6998a818901e46341356316d248e0;p=emacs.git Make ERC respect spaces in server passwords * lisp/erc/erc.el (erc-login): Also known as connection passwords, these are sent as the sole arg to the PASS command, which is nowadays often overloaded with other semantics imposed by various entities to convey things like bouncer or services creds. --- diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el index 1584948e932..4c54ef2ef9c 100644 --- a/lisp/erc/erc.el +++ b/lisp/erc/erc.el @@ -6185,7 +6185,7 @@ user input." erc-session-server erc-session-user-full-name)) (if erc-session-password - (erc-server-send (format "PASS %s" erc-session-password)) + (erc-server-send (concat "PASS :" erc-session-password)) (message "Logging in without password")) (erc-server-send (format "NICK %s" (erc-current-nick))) (erc-server-send