mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 03:33:11 +01:00
Misc: Fix count of invalid commands introduced in c91916ae
. Closes GH-439.
This commit is contained in:
parent
40e6f789cf
commit
74a36c8cfc
@ -119,7 +119,6 @@ class Misc(callbacks.Plugin):
|
||||
# will only be called if this is *truly* an invalid command.
|
||||
maximum = conf.supybot.abuse.flood.command.invalid.maximum()
|
||||
banmasker = conf.supybot.protocols.irc.banmask.makeBanmask
|
||||
self.invalidCommands.enqueue(msg)
|
||||
if self.invalidCommands.len(msg) > maximum and \
|
||||
not ircdb.checkCapability(msg.prefix, 'owner') and \
|
||||
msg.prefix != irc.prefix and \
|
||||
|
Loading…
Reference in New Issue
Block a user