Function: erc-lurker-p
erc-lurker-p is a byte-compiled function defined in erc.el.gz.
Signature
(erc-lurker-p NICK)
Documentation
Predicate indicating NICK's lurking status on the current server.
Lurking is the condition where NICK has issued no PRIVMSG on this
server within erc-lurker-threshold-time. See also
erc-lurker-trim-nicks and erc-lurker-ignore-chars.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc-lurker-p (nick)
"Predicate indicating NICK's lurking status on the current server.
Lurking is the condition where NICK has issued no PRIVMSG on this
server within `erc-lurker-threshold-time'. See also
`erc-lurker-trim-nicks' and `erc-lurker-ignore-chars'."
(unless erc-lurker-state (erc-lurker-initialize))
(let* ((server
(erc-canonicalize-server-name erc-server-announced-name))
(last-PRIVMSG-time
(gethash (erc-lurker-maybe-trim nick)
(gethash server erc-lurker-state (make-hash-table)))))
(or (null last-PRIVMSG-time)
(time-less-p erc-lurker-threshold-time
(time-since last-PRIVMSG-time)))))