diff options
author | F. Jason Park <jp@neverwas.me> | 2021-08-15 21:57:24 -0700 |
---|---|---|
committer | F. Jason Park <jp@neverwas.me> | 2022-06-30 15:03:26 -0700 |
commit | 4e312c07f7a6998a818901e46341356316d248e0 (patch) | |
tree | 96d9dec11fc3c312785430bc198e06fa500449ca | |
parent | ecafe1cbb5297ba4df5717b7222fe2c73ef9077c (diff) | |
download | emacs-4e312c07f7a6998a818901e46341356316d248e0.tar.gz |
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.
-rw-r--r-- | lisp/erc/erc.el | 2 |
1 files changed, 1 insertions, 1 deletions
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 |