mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-01 23:24:10 +01:00
Satisfied PyChecker
This commit is contained in:
parent
714de6bfae
commit
e3309c31cf
@ -106,6 +106,7 @@ def getKeywordArgs(irc, msg, d=None):
|
||||
|
||||
|
||||
class CapabilityCheckingPrivmsg(callbacks.Privmsg):
|
||||
self.capability = '' # To satisfy PyChecker
|
||||
def callCommand(self, f, irc, msg, args):
|
||||
if ircdb.checkCapability(msg.prefix, self.capability):
|
||||
callbacks.Privmsg.callCommand(self, f, irc, msg, args)
|
||||
|
Loading…
Reference in New Issue
Block a user