Variable: erc-server-WALLOPS-functions
erc-server-WALLOPS-functions is a variable defined in
erc-backend.el.gz.
Value
(erc-server-WALLOPS)
Documentation
Hook called upon receiving a WALLOPS server response.
Each function is called with two arguments, the process associated with the response and the parsed response. If the function returns non-nil, stop processing the hook. Otherwise, continue.
See also ‘erc-server-WALLOPS’.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-backend.el.gz
(define-erc-response-handler (WALLOPS)
"Display a WALLOPS message." nil
(let ((message (erc-response.contents parsed)))
(pcase-let ((`(,nick ,_login ,_host)
(erc-parse-user (erc-response.sender parsed))))
(erc-display-message
parsed 'notice nil
'WALLOPS ?n nick ?m message))))