Function: erc-join--remove-requested-channel

erc-join--remove-requested-channel is a byte-compiled function defined in erc-join.el.gz.

Signature

(erc-join--remove-requested-channel _ PARSED)

Documentation

Remove channel from erc-join--requested-channels.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-join.el.gz
;; Assume users will update their `erc-autojoin-channels-alist' when
;; encountering errors, like a 475 ERR_BADCHANNELKEY.
(defun erc-join--remove-requested-channel (_ parsed)
  "Remove channel from `erc-join--requested-channels'."
  (when-let* ((channel (cadr (erc-response.command-args parsed)))
              ((member channel erc-join--requested-channels)))
    (setq erc-join--requested-channels
          (delete channel erc-join--requested-channels)))
  nil)