Backport: Add ERC version to protocol log

* lisp/erc/erc.el (erc-toggle-debug-irc-protocol): Include the erc
version in the debug logs (bug#51107).

(cherry picked from commit 1341134620)
This commit is contained in:
F. Jason Park 2021-10-09 14:59:43 +02:00 committed by Amin Bandali
parent 1a1b206a8b
commit 31d60488ac
No known key found for this signature in database
GPG key ID: 8B44A0CDC7B956F2

View file

@ -2388,6 +2388,7 @@ If ARG is non-nil, show the *erc-protocol* buffer."
(let ((inhibit-read-only t)
(msg (list
(concat "Version: " erc-debug-irc-protocol-version)
(concat "ERC-Version: " erc-version)
(concat "Emacs-Version: " emacs-version)
(erc-make-notice
(concat "This buffer displays all IRC protocol "