]> git.eshelyaron.com Git - emacs.git/commitdiff
Make ERC respect spaces in server passwords
authorF. Jason Park <jp@neverwas.me>
Mon, 16 Aug 2021 04:57:24 +0000 (21:57 -0700)
committerF. Jason Park <jp@neverwas.me>
Thu, 30 Jun 2022 22:03:26 +0000 (15:03 -0700)
* 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.

lisp/erc/erc.el

index 1584948e9324faef2927dbbb18951915958b72b2..4c54ef2ef9ce08e79059022a7fe956adbe2cf715 100644 (file)
@@ -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