From ae18871f7f7f2b9fa563f58154d9385c06069484 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Fri, 4 Apr 2003 09:12:42 +0000 Subject: [PATCH] Fixed bug found in IrcChannel.checkCapability --- src/ircdb.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ircdb.py b/src/ircdb.py index 0cc421de0..bf99cc491 100644 --- a/src/ircdb.py +++ b/src/ircdb.py @@ -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