emacs-diffs
[Top][All Lists]
Advanced

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

fix/bug-48598 8558f9434a 12/27: Make ERC respect spaces in server passwo


From: F. Jason Park
Subject: fix/bug-48598 8558f9434a 12/27: Make ERC respect spaces in server passwords
Date: Fri, 8 Apr 2022 03:06:47 -0400 (EDT)

branch: fix/bug-48598
commit 8558f9434a15e663c0a79719ace3d3b9a1312bef
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 882956b596..8835e06bba 100644
--- a/lisp/erc/erc.el
+++ b/lisp/erc/erc.el
@@ -6174,7 +6174,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]