Function: erc-capab-identify-activate
erc-capab-identify-activate is a byte-compiled function defined in
erc-capab.el.gz.
Signature
(erc-capab-identify-activate PROC PARSED)
Documentation
Set erc-capab-identify-activated and display an activation message.
PROC is the current server's process.
PARSED is an erc-parsed response struct.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-capab.el.gz
(defun erc-capab-identify-activate (_proc parsed)
"Set `erc-capab-identify-activated' and display an activation message.
PROC is the current server's process.
PARSED is an `erc-parsed' response struct."
(when (member (erc-response.contents parsed)
'("IDENTIFY-MSG" "IDENTIFY-CTCP"))
(setq erc-capab-identify-activated t)
(erc-display-message
parsed 'notice 'active (format "%s activated"
(erc-response.contents parsed)))))