From 8a0d99f9699b3cb27908fee0e485faf028d3e6fe Mon Sep 17 00:00:00 2001 From: jesopo Date: Fri, 21 Jun 2019 17:15:46 +0100 Subject: Adda system of aliases for CAPs, mostly for changeable draft specs and creating dependence between moving specs --- modules/ircv3_chathistory.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/ircv3_chathistory.py') diff --git a/modules/ircv3_chathistory.py b/modules/ircv3_chathistory.py index 27daad2b..e540673a 100644 --- a/modules/ircv3_chathistory.py +++ b/modules/ircv3_chathistory.py @@ -5,7 +5,8 @@ from src import ModuleManager, utils TAG = utils.irc.MessageTag("msgid", "draft/msgid") CHATHISTORY_BATCH = utils.irc.BatchType("chathistory") -EVENTPLAYBACK_CAP = utils.irc.Capability(None, "draft/event-playback") +EVENTPLAYBACK_CAP = utils.irc.Capability(None, "draft/event-playback", + alias="event-playback") HISTORY_BATCH = utils.irc.BatchType("history") @utils.export("cap", EVENTPLAYBACK_CAP) -- cgit v1.3.1-10-gc9f91