1
0
mirror of https://github.com/anope/anope.git synced 2026-07-05 11:03:12 +02:00

Fix repeat kicker message to show the correct number of times a user can say the same thing before being kicked

This commit is contained in:
Adam
2014-01-09 16:45:07 -05:00
parent b90a9a339a
commit 0b0db75ba5
+2 -2
View File
@@ -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"))
{