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/emacs-lisp | |
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/emacs-lisp')
0 files changed, 0 insertions, 0 deletions