Function: erc-channel-user-op-p

erc-channel-user-op-p is a byte-compiled function defined in erc.el.gz.

Signature

(erc-channel-user-op-p NICK)

Documentation

Return non-nil if NICK is an operator in the current channel.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(define-inline erc-channel-user-op-p (nick)
  "Return non-nil if NICK is an operator in the current channel."
  (inline-letevals (nick)
    (inline-quote
     (and ,nick
       (hash-table-p erc-channel-users)
       (let ((cdata (erc-get-channel-user ,nick)))
         (and cdata (cdr cdata)
              (erc-channel-user-op (cdr cdata))))))))