From 74a36c8cfc45edea6299acfcfcc3d9c31260a14e Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Tue, 21 Jan 2014 11:54:06 +0100 Subject: [PATCH] Misc: Fix count of invalid commands introduced in c91916ae. Closes GH-439. --- plugins/Misc/plugin.py | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/Misc/plugin.py b/plugins/Misc/plugin.py index 2e6d4f194..c04feb99d 100644 --- a/plugins/Misc/plugin.py +++ b/plugins/Misc/plugin.py @@ -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 \