Function: erc-ctcp-reply-TIME
erc-ctcp-reply-TIME is a byte-compiled function defined in erc.el.gz.
Signature
(erc-ctcp-reply-TIME PROC NICK LOGIN HOST TO MSG)
Documentation
Handle a CTCP TIME reply.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc-ctcp-reply-TIME (_proc nick _login _host _to msg)
"Handle a CTCP TIME reply."
(when (string-match "^TIME\\s-+\\(.*\\)\\s-*$" msg)
(let ((message (match-string 1 msg)))
(erc-display-message
nil 'notice 'active
'CTCP-TIME ?n nick ?m message)))
nil)