diff --git a/src/IRCServer.py b/src/IRCServer.py index 6838968e..d94963e5 100644 --- a/src/IRCServer.py +++ b/src/IRCServer.py @@ -288,7 +288,7 @@ class Server(IRCObject.Object): return bool(self.available_capability(capability)) def has_capability_str(self, capability: str) -> bool: return capability in self.agreed_capabilities - def available_capability(self, capability: utils.irc.Capability) -> bool: + def available_capability(self, capability: utils.irc.Capability) -> str: return capability.available(self.agreed_capabilities) def waiting_for_capabilities(self) -> bool: