Function: erc-send-input-line

erc-send-input-line is a byte-compiled function defined in erc.el.gz.

Signature

(erc-send-input-line TARGET LINE &optional FORCE)

Documentation

Send LINE to TARGET.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc-send-input-line (target line &optional force)
  "Send LINE to TARGET."
  (when-let* ((target)
              (cmem (erc-get-channel-member (erc-current-nick))))
    (setf (erc-channel-user-last-message-time (cdr cmem))
          (erc-compat--current-lisp-time)))
  (when (and (not erc--allow-empty-outgoing-lines-p) (string= line "\n"))
    (setq line " \n"))
  (erc-message "PRIVMSG" (concat target " " line) force))