Don't give draft/resume-0.4 as the non-draft arg to utils.irc.Capability

This commit is contained in:
jesopo 2019-05-19 10:34:50 +01:00
parent 5255820b87
commit 66c3d26531

View file

@ -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