Function: erc-server-send

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

Signature

(erc-server-send STRING &optional FORCE TARGET)

Documentation

Send STRING to the current server.

When FORCE is non-nil, bypass flood protection so that STRING is sent directly without modifying the queue. When FORCE is the symbol no-penalty, exempt this round from accumulating a timeout penalty and schedule it to run ASAP instead of blocking.

If TARGET is specified, look up encoding information for that channel in erc-encoding-coding-alist or erc-server-coding-system.

See erc-server-flood-margin for an explanation of the flood protection algorithm.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-backend.el.gz
;; From Circe, with modifications
(defun erc-server-send (string &optional force target)
  "Send STRING to the current server.
When FORCE is non-nil, bypass flood protection so that STRING is
sent directly without modifying the queue.  When FORCE is the
symbol `no-penalty', exempt this round from accumulating a
timeout penalty and schedule it to run ASAP instead of blocking.

If TARGET is specified, look up encoding information for that
channel in `erc-encoding-coding-alist' or
`erc-server-coding-system'.

See `erc-server-flood-margin' for an explanation of the flood
protection algorithm."
  (erc--server-send string force target))