Skip to content

Commit

Permalink
Misc: Fix count of invalid commands introduced in c91916a. Closes GH-439
Browse files Browse the repository at this point in the history
.
  • Loading branch information
progval committed Jan 26, 2014
1 parent 40e6f78 commit 74a36c8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion plugins/Misc/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ def invalidCommand(self, irc, msg, tokens):
# 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 \
Expand Down

0 comments on commit 74a36c8

Please sign in to comment.