mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-22 18:14:41 +01:00
Fixed bug found in IrcChannel.checkCapability
This commit is contained in:
parent
061f2e0a78
commit
ae18871f7f
@ -218,6 +218,9 @@ class IrcChannel(object):
|
||||
def checkCapability(self, capability):
|
||||
if capability in self.capabilities:
|
||||
return True
|
||||
anticapability = makeAntiCapability(capability)
|
||||
if anticapability in self.capabilities:
|
||||
return False
|
||||
else:
|
||||
if isAntiCapability(capability):
|
||||
return not self.defaultAllow
|
||||
|
Loading…
Reference in New Issue
Block a user