emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 4e312c07f7 11/25: Make ERC respect spaces in server passwords


From: F. Jason Park
Subject: master 4e312c07f7 11/25: Make ERC respect spaces in server passwords
Date: Thu, 30 Jun 2022 18:29:53 -0400 (EDT)

branch: master
commit 4e312c07f7a6998a818901e46341356316d248e0
Author: F. Jason Park <jp@neverwas.me>
Commit: F. Jason Park <jp@neverwas.me>

    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.
---
 lisp/erc/erc.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el
index 1584948e93..4c54ef2ef9 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]