Function: erc-cmd-SREQ
erc-cmd-SREQ is a byte-compiled function defined in erc-dcc.el.gz.
Signature
(erc-cmd-SREQ LINE &optional FORCE)
Documentation
Set or get the DCC send request flag.
Possible values are: ask, auto, ignore.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-dcc.el.gz
(defun erc-cmd-SREQ (line &optional _force)
"Set or get the DCC send request flag.
Possible values are: ask, auto, ignore."
(when (string-match "^\\s-*\\(auto\\|ask\\|ignore\\)?$" line)
(let ((cmd (match-string 1 line)))
(if (stringp cmd)
(erc-display-message
nil 'notice 'active
(format "Set DCC Send requests to %S"
(setq erc-dcc-send-request (intern cmd))))
(erc-display-message nil 'notice 'active
(format "DCC Send requests are set to %S"
erc-dcc-send-request)))
t)))