Don't give draft/resume-0.4
as the non-draft arg to utils.irc.Capability
This commit is contained in:
parent
5255820b87
commit
66c3d26531
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
@utils.hook("received.cap.ls")
|
@utils.hook("received.cap.ls")
|
||||||
def on_cap_ls(self, event):
|
def on_cap_ls(self, event):
|
||||||
if CAP in event["capabilities"]:
|
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"]))
|
cap.on_ack(lambda: self._cap_ack(event["server"]))
|
||||||
return cap
|
return cap
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue