]> git.eshelyaron.com Git - emacs.git/commit
Don't send empty lines for unknown commands in ERC
authorF. Jason Park <jp@neverwas.me>
Sun, 13 Jun 2021 09:15:55 +0000 (02:15 -0700)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 6 Nov 2021 18:13:35 +0000 (19:13 +0100)
commit1b1d387b96ebeb8330a76240db0cda6b8cefdf1f
treeb4c94c283b90f139bbb5c1f822dca0a4230a232c
parentdedab1c30da26d3741928cdad5e9fcf3075a2726
Don't send empty lines for unknown commands in ERC

* lisp/erc/erc.el (erc-cmd-default): prevent excess trailing newlines
from being sent.

* test/lisp/erc/erc-tests.el: Update `erc-process-input-line' test to
check for excess line feeds with unknown commands.
lisp/erc/erc.el
test/lisp/erc/erc-tests.el