From db33e12c8c2faac61d0d3069d6e7a8c1845bee0f Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 20 May 2019 16:36:02 +0100 Subject: [PATCH] Remove Capability.enabled() - it's unused --- src/utils/irc/__init__.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/utils/irc/__init__.py b/src/utils/irc/__init__.py index 4030a143..a97b9479 100644 --- a/src/utils/irc/__init__.py +++ b/src/utils/irc/__init__.py @@ -283,8 +283,6 @@ class Capability(object): def available(self, capabilities: typing.Iterable[str]) -> str: match = list(set(capabilities)&self._caps) return match[0] if match else None - def enabled(self, capability: str) -> bool: - return capability in self._caps def copy(self): return Capability(*self._caps)