Fix wrong formatting to "Vote Delay Minutes" when delay above 60s (#1009)

Fixes #1007
This commit is contained in:
Loïc 2019-05-13 01:20:47 +02:00 committed by Asher Baker
parent 15a7faeafd
commit 6addc5c8dd
2 changed files with 2 additions and 2 deletions

View File

@ -405,7 +405,7 @@ bool TestVoteDelay(int client)
{
if (delay > 60)
{
ReplyToCommand(client, "[SM] %t", "Vote Delay Minutes", delay % 60);
ReplyToCommand(client, "[SM] %t", "Vote Delay Minutes", (delay / 60));
}
else
{

View File

@ -324,7 +324,7 @@ bool TestVoteDelay(int client)
{
if (delay > 60)
{
ReplyToCommand(client, "[SM] %t", "Vote Delay Minutes", delay % 60);
ReplyToCommand(client, "[SM] %t", "Vote Delay Minutes", (delay / 60));
}
else
{