Function: erc-send-ctcp-notice

erc-send-ctcp-notice is a byte-compiled function defined in erc-backend.el.gz.

Signature

(erc-send-ctcp-notice TGT L &optional FORCE)

Documentation

Send CTCP notice 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
(defun erc-send-ctcp-notice (tgt l &optional force)
  "Send CTCP notice 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-notice: [%s] %s" tgt l))
      (erc-server-send (format "NOTICE %s :\C-a%s\C-a" tgt l)
                       force)))))