mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-02 15:44:06 +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):
|
class CapabilityCheckingPrivmsg(callbacks.Privmsg):
|
||||||
|
self.capability = '' # To satisfy PyChecker
|
||||||
def callCommand(self, f, irc, msg, args):
|
def callCommand(self, f, irc, msg, args):
|
||||||
if ircdb.checkCapability(msg.prefix, self.capability):
|
if ircdb.checkCapability(msg.prefix, self.capability):
|
||||||
callbacks.Privmsg.callCommand(self, f, irc, msg, args)
|
callbacks.Privmsg.callCommand(self, f, irc, msg, args)
|
||||||
|
Loading…
Reference in New Issue
Block a user