Variable: erc-send-input-line-function
erc-send-input-line-function is a buffer-local variable defined in
erc.el.gz.
Documentation
Function for sending lines lacking a leading user command.
When a line typed into a buffer contains an explicit command, like /msg, a corresponding handler (here, erc-cmd-MSG) is called. But lines typed into a channel or query buffer already have an implicit target and command (PRIVMSG). This function is called on such occasions and also for special purposes (see erc-dcc.el).
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defvar-local erc-send-input-line-function 'erc-send-input-line
"Function for sending lines lacking a leading user command.
When a line typed into a buffer contains an explicit command, like /msg,
a corresponding handler (here, erc-cmd-MSG) is called. But lines typed
into a channel or query buffer already have an implicit target and
command (PRIVMSG). This function is called on such occasions and also
for special purposes (see erc-dcc.el).")