Function: erc-ctcp-query-PING

erc-ctcp-query-PING is a byte-compiled function defined in erc.el.gz.

Signature

(erc-ctcp-query-PING PROC NICK LOGIN HOST TO MSG)

Documentation

Respond to a CTCP PING query.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc-ctcp-query-PING (_proc nick _login _host _to msg)
  "Respond to a CTCP PING query."
  (when (string-match "^PING\\s-+\\(.*\\)" msg)
    (unless erc-disable-ctcp-replies
      (let ((arg (match-string 1 msg)))
        (erc-send-ctcp-notice nick (format "PING %s" arg)))))
  nil)