Function: rcirc-handler-333
rcirc-handler-333 is a byte-compiled function defined in rcirc.el.gz.
Signature
(rcirc-handler-333 PROCESS SENDER ARGS TEXT)
Documentation
Update when and who set the current topic.
ARGS has the form (CHANNEL SETTER TIME). SENDER is passed on to
rcirc-print. PROCESS is the process object for the current
connection. This is a non-standard extension, not specified in
RFC1459.
Source Code
;; Defined in /usr/src/emacs/lisp/net/rcirc.el.gz
(defun rcirc-handler-333 (process sender args _text)
"Update when and who set the current topic.
ARGS has the form (CHANNEL SETTER TIME). SENDER is passed on to
`rcirc-print'. PROCESS is the process object for the current
connection. This is a non-standard extension, not specified in
RFC1459."
(let ((buffer (or (rcirc-get-buffer process (cadr args))
(rcirc-get-temp-buffer-create process (cadr args)))))
(with-current-buffer buffer
(let ((setter (nth 2 args))
(time (current-time-string
(string-to-number (cadddr args)))))
(rcirc-print process sender "TOPIC" (cadr args)
(format "%s (%s on %s)" rcirc-topic setter time))))))