Function: erc-send-ctcp-message
erc-send-ctcp-message is a byte-compiled function defined in
erc-backend.el.gz.
Signature
(erc-send-ctcp-message TGT L &optional FORCE)
Documentation
Send CTCP message L to TGT.
If TGT is nil the message is not sent.
The command must contain neither a prefix nor a trailing \n.
See also erc-server-send.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-backend.el.gz
;;; CTCP
(defun erc-send-ctcp-message (tgt l &optional force)
"Send CTCP message L to TGT.
If TGT is nil the message is not sent.
The command must contain neither a prefix nor a trailing `\\n'.
See also `erc-server-send'."
(let ((l (erc-upcase-first-word l)))
(cond
(tgt
(erc-log (format "erc-send-CTCP-message: [%s] %s" tgt l))
(erc-server-send (format "PRIVMSG %s :\C-a%s\C-a" tgt l)
force)))))