Variable: erc-server-482-functions
erc-server-482-functions is a variable defined in erc-backend.el.gz.
Value
(erc-server-482)
Documentation
Hook called upon receiving a 482 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-482.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-backend.el.gz
(define-erc-response-handler (482)
"You need to be a channel operator to do that." nil
(let ((channel (cadr (erc-response.command-args parsed)))
(message (erc-response.contents parsed)))
(erc-display-message parsed '(notice error) 'active 's482
?c channel ?m message)))