Function: erc-match-fool-p

erc-match-fool-p is a byte-compiled function defined in erc-match.el.gz.

Signature

(erc-match-fool-p NICKUSERHOST MSG)

Documentation

Check whether NICKUSERHOST is in erc-fools or MSG is directed at a fool.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-match.el.gz
(defun erc-match-fool-p (nickuserhost msg)
  "Check whether NICKUSERHOST is in `erc-fools' or MSG is directed at a fool."
  (and msg nickuserhost erc-fools
       (or (erc-list-match erc-fools nickuserhost)
	   (erc-match-directed-at-fool-p msg))))