Function: erc-autojoin-server-match
erc-autojoin-server-match is a byte-compiled function defined in
erc-join.el.gz.
Signature
(erc-autojoin-server-match CANDIDATE)
Documentation
Match the current network or server against CANDIDATE.
This should be a key from erc-autojoin-channels-alist.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-join.el.gz
(defun erc-autojoin-server-match (candidate)
"Match the current network or server against CANDIDATE.
This should be a key from `erc-autojoin-channels-alist'."
(or (eq candidate (erc-network))
(and (stringp candidate)
(string-match-p candidate
(or erc-server-announced-name
erc-session-server)))))