Function: rcirc-handler-ctcp-KEEPALIVE
rcirc-handler-ctcp-KEEPALIVE is a byte-compiled function defined in
rcirc.el.gz.
Signature
(rcirc-handler-ctcp-KEEPALIVE PROCESS TARGET SENDER MESSAGE)
Documentation
Uptime header in PROCESS buffer.
MESSAGE should contain a timestamp, indicating when the KEEPALIVE message was generated.
Source Code
;; Defined in /usr/src/emacs/lisp/net/rcirc.el.gz
(defun rcirc-handler-ctcp-KEEPALIVE (process _target _sender message)
"Uptime header in PROCESS buffer.
MESSAGE should contain a timestamp, indicating when the KEEPALIVE
message was generated."
(with-rcirc-process-buffer process
(setq header-line-format
(format "%f" (float-time
(time-since (string-to-number message)))))))