Function: erc-remove-channel-users

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

Signature

(erc-remove-channel-users)

Documentation

This function is for internal use only.

Removes all users in the current channel. This is called by erc-server-PART and erc-server-QUIT.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc-remove-channel-users ()
  "This function is for internal use only.

Removes all users in the current channel.  This is called by
`erc-server-PART' and `erc-server-QUIT'."
  (when (and erc-server-connected
             (erc-server-process-alive)
             (hash-table-p erc-channel-users))
    (maphash (lambda (nick _cdata)
               (erc-remove-channel-user nick))
             erc-channel-users)
    (clrhash erc-channel-users)))