]> git.eshelyaron.com Git - emacs.git/commit
Add MOTD command to ERC
authorF. Jason Park <jp@neverwas.me>
Sat, 11 Mar 2023 17:25:24 +0000 (09:25 -0800)
committerF. Jason Park <jp@neverwas.me>
Sat, 8 Apr 2023 21:23:50 +0000 (14:23 -0700)
commit4da7d24988ae096d757021eb8ed9d014990de16e
tree2c931559b548d9520c7a982290cf12a9ad12439a
parent61ed0b43cdb3cc83af0d3429c482c2b329e1b415
Add MOTD command to ERC

* lisp/erc/erc-backend.el (erc-server-402, erc-server-402-functions):
Add new response handler and hook.
* lisp/erc/erc.el (erc-cmd-MOTD): New function to shield erc-network
from handling post-connection MOTD replies.  Thanks to Emanuel Berg
for reporting this (bug#62151).
(erc-message-english-s402): Define new ERR_NOSUCHSERVER message
template.
* test/lisp/erc/erc-scenarios-base-misc-regressions.el: New file.
* test/lisp/erc/resources/base/commands/motd.eld: New file.
lisp/erc/erc-backend.el
lisp/erc/erc.el
test/lisp/erc/erc-scenarios-base-misc-regressions.el
test/lisp/erc/resources/base/commands/motd.eld [new file with mode: 0644]