Removed the checkCapabilities keyword argument because it wasn't used anywhere in our source code.

This commit is contained in:
Jeremy Fincher 2005-02-15 06:56:24 +00:00
parent 99d723802e
commit e97f111042

View File

@ -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)