diff options
author | Adam <Adam@anope.org> | 2014-01-09 16:45:07 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2014-01-09 16:45:07 -0500 |
commit | 0b0db75ba5b6c0380e32e7b3a620ab79baad2b27 (patch) | |
tree | a8b9b3c9f562b359c36c83d44bb427e4e872bdaa /modules/commands/bs_kick.cpp | |
parent | b90a9a339ac06d03448b72613b5a179e95390b27 (diff) |
Fix repeat kicker message to show the correct number of times a user can say the same thing before being kicked
Diffstat (limited to 'modules/commands/bs_kick.cpp')
-rw-r--r-- | modules/commands/bs_kick.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/bs_kick.cpp b/modules/commands/bs_kick.cpp index d177d3cff..6c31f93cf 100644 --- a/modules/commands/bs_kick.cpp +++ b/modules/commands/bs_kick.cpp @@ -672,10 +672,10 @@ class CommandBSKickRepeat : public CommandBSKickBase if (kd->ttb[TTB_REPEAT]) source.Reply(_("Bot will now kick for \002repeats\002 (users that say the\n" "same thing %d times), and will place a ban after %d\n" - "kicks for the same user."), kd->repeattimes, kd->ttb[TTB_REPEAT]); + "kicks for the same user."), kd->repeattimes + 1, kd->ttb[TTB_REPEAT]); else source.Reply(_("Bot will now kick for \002repeats\002 (users that say the\n" - "same thing %d times)."), kd->repeattimes); + "same thing %d times)."), kd->repeattimes + 1); } else if (params[1].equals_ci("OFF")) { |