From 66c3d26531977811b7093451731102cc7dcde901 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 19 May 2019 10:34:50 +0100 Subject: [PATCH] Don't give `draft/resume-0.4` as the non-draft arg to utils.irc.Capability --- modules/resume.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/resume.py b/modules/resume.py index 7e784aec..097b07d4 100644 --- a/modules/resume.py +++ b/modules/resume.py @@ -23,7 +23,7 @@ class Module(ModuleManager.BaseModule): @utils.hook("received.cap.ls") def on_cap_ls(self, event): if CAP in event["capabilities"]: - cap = utils.irc.Capability(CAP) + cap = utils.irc.Capability(None, CAP) cap.on_ack(lambda: self._cap_ack(event["server"])) return cap