From 0b0db75ba5b6c0380e32e7b3a620ab79baad2b27 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 9 Jan 2014 16:45:07 -0500 Subject: [PATCH] Fix repeat kicker message to show the correct number of times a user can say the same thing before being kicked --- modules/commands/bs_kick.cpp | 4 ++-- 1 file 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")) {