From e97f111042af33df96270543c9ec2cf7c011ac21 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Tue, 15 Feb 2005 06:56:24 +0000 Subject: [PATCH] Removed the checkCapabilities keyword argument because it wasn't used anywhere in our source code. --- src/callbacks.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/callbacks.py b/src/callbacks.py index c74bd1bcc..f403a0cef 100644 --- a/src/callbacks.py +++ b/src/callbacks.py @@ -1045,12 +1045,6 @@ class Commands(object): return commands def callCommand(self, name, irc, msg, *L, **kwargs): - checkCapabilities = kwargs.pop('checkCapabilities', True) - if checkCapabilities: - cap = checkCommandCapability(msg, self, name) - if cap: - irc.errorNoCapability(cap) - return method = self.getCommandMethod(name) assert L, 'Odd, nothing in L. This can\'t happen.' self.log.info('%s.%s called by %s.', self.name(), name, msg.prefix)