Function: erc-server-WALLOPS

erc-server-WALLOPS is a byte-compiled function defined in erc-backend.el.gz.

Signature

(erc-server-WALLOPS PROC PARSED)

Documentation

Display a WALLOPS message.

Handler for a WALLOPS server response. PROC is the server process which returned the response. PARSED is the actual response as an erc-response struct. If you want to add responses don't modify this function, but rather add things to erc-server-WALLOPS-functions instead.

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))))