diff options
author | F. Jason Park <jp@neverwas.me> | 2022-12-12 23:58:03 -0800 |
---|---|---|
committer | F. Jason Park <jp@neverwas.me> | 2022-12-14 06:40:55 -0800 |
commit | 102a3e3b445d96e5a74a3ec32b2a2b701b80819e (patch) | |
tree | aec20825d617f64062cc9080d9d6c85df2367f0c /test/lisp/erc | |
parent | f0c908887815a9cc668a5a03cbc1b7d6eaf8c91d (diff) | |
download | emacs-102a3e3b445d96e5a74a3ec32b2a2b701b80819e.tar.gz emacs-102a3e3b445d96e5a74a3ec32b2a2b701b80819e.tar.bz2 emacs-102a3e3b445d96e5a74a3ec32b2a2b701b80819e.zip |
Don't send erc-sasl-user as USER command argument
* lisp/erc/erc-sasl.el (erc-sasl--send-cap-ls): Add internal switch
for sending an opening "CAP LS". The rationale for not enabling this
by default is twofold: one, it more strongly implies that ERC supports
IRCv3 client capability negotiation, which is somewhat disingenuous;
and, two, We'd still be "faking it" by firing and forgetting, and more
balls in the air makes things less predictable.
(erc--register-connection): Possibly send a "CAP LS" before anything
depending on the value of `erc-sasl--send-cap-ls'. Also, don't
attempt to send `erc-session-username' when it holds an SASL username
because the latter may contain protocol-defying characters.
* test/lisp/erc/resources/base/local-modules/fourth.eld: change user
parameter of "USER" command to reflect nick when `erc-sasl-user' is
set to `:user'. (Bug#59976.)
Diffstat (limited to 'test/lisp/erc')
-rw-r--r-- | test/lisp/erc/resources/base/local-modules/fourth.eld | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lisp/erc/resources/base/local-modules/fourth.eld b/test/lisp/erc/resources/base/local-modules/fourth.eld index fd6d62b6cc2..4ac5dcbd38b 100644 --- a/test/lisp/erc/resources/base/local-modules/fourth.eld +++ b/test/lisp/erc/resources/base/local-modules/fourth.eld @@ -1,7 +1,7 @@ ;; -*- mode: lisp-data; -*- ((cap 10 "CAP REQ :sasl")) ((nick 10 "NICK tester`")) -((user 10 "USER tester 0 * :tester")) +((user 10 "USER tester` 0 * :tester")) ((authenticate 10 "AUTHENTICATE PLAIN") (0.0 ":irc.foonet.org CAP * ACK sasl") |