Various: Work around msg.args in inFilter() potentially being empty...
...in Limnoria running on Python 3 * Bugtracker * Encyclopedia * PackageInfo
This commit is contained in:
@ -217,7 +217,7 @@ class PackageInfo(callbacks.Plugin):
|
||||
getattr(self, "real_%s" % cmd)(irc, msg, [], package, release)
|
||||
|
||||
def inFilter(self, irc, msg):
|
||||
if not msg.prefix:
|
||||
if not (msg.prefix and msg.args):
|
||||
return msg
|
||||
if not defaultIgnored(msg.prefix, msg.args[0]):
|
||||
return msg
|
||||
|
Reference in New Issue
Block a user