diff --git a/modules/ircv3_editmsg.py b/modules/ircv3_editmsg.py index d1d33d04..9d27cc6e 100644 --- a/modules/ircv3_editmsg.py +++ b/modules/ircv3_editmsg.py @@ -1,7 +1,9 @@ from src import ModuleManager, utils +CAP = utils.irc.Capability(None, "draft/edit", alias="edit") DELETE_TAG = utils.irc.MessageTag(None, "draft/delete") +@utils.export("cap", CAP) class Module(ModuleManager.BaseModule): @utils.hook("received.tagmsg.private") @utils.hook("received.tagmsg.channel")