Function: erc-update-channel-key
erc-update-channel-key is a byte-compiled function defined in
erc.el.gz.
Signature
(erc-update-channel-key CHANNEL ONOFF KEY)
Documentation
Update CHANNEL's key to KEY if ONOFF is on or to nil if it's off.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc-update-channel-key (channel onoff key)
"Update CHANNEL's key to KEY if ONOFF is `on' or to nil if it's `off'."
(erc-with-buffer
(channel)
(cond ((eq onoff 'on) (setq erc-channel-key key))
(t (setq erc-channel-key nil)))))