From b6e9713a147e0c3aee849aca1d2837f6d4ea8b28 Mon Sep 17 00:00:00 2001 From: jan6 Date: Mon, 1 Jul 2019 14:41:47 +0300 Subject: [PATCH] fixed capabilities --- src/utils/irc/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/irc/__init__.py b/src/utils/irc/__init__.py index d470bdbe..b141beab 100644 --- a/src/utils/irc/__init__.py +++ b/src/utils/irc/__init__.py @@ -306,7 +306,7 @@ class Capability(object): def copy(self): return Capability(*self._caps, alias=self.alias, - depends_on=self.depends_on) + depends_on=self.depends_on[:]) def on_ack(self, callback: typing.Callable[[], None]): self._on_ack_callbacks.append(callback)