diff options
-rw-r--r-- | emacsconf-erc.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/emacsconf-erc.el b/emacsconf-erc.el index 60292f3..5791987 100644 --- a/emacsconf-erc.el +++ b/emacsconf-erc.el @@ -315,6 +315,12 @@ If MESSAGE is not specified, reset the topic to the template." (erc-cmd-OP nick) (erc-cmd-OPME)))) +(defun erc-cmd-DEOPALL (&optional nick) + (emacsconf-erc-with-channels (mapcar 'car emacsconf-topic-templates) + (if nick + (erc-cmd-DEOP nick) + (erc-cmd-DEOPME)))) + (defun erc-cmd-BROADCAST (&rest message) "Say MESSAGE in all the emacsconference channels." (emacsconf-erc-with-channels (mapcar 'car emacsconf-topic-templates) |