diff options
author | Sacha Chua <sacha@sachachua.com> | 2022-11-06 08:45:08 -0500 |
---|---|---|
committer | Sacha Chua <sacha@sachachua.com> | 2022-11-06 08:45:08 -0500 |
commit | 0ffe08c3ac5c40ad7dd9e3f7534b3bc3d6a358be (patch) | |
tree | 619f7a7680f1d793b4d54b7d16190e01c98e5f51 /emacsconf-erc.el | |
parent | 548973ef194aa710e476d03ac8b8bdab19242eca (diff) | |
download | emacsconf-el-0ffe08c3ac5c40ad7dd9e3f7534b3bc3d6a358be.tar.xz emacsconf-el-0ffe08c3ac5c40ad7dd9e3f7534b3bc3d6a358be.zip |
add deopall
Diffstat (limited to '')
-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) |