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

Fixes #1007
This commit is contained in:
Loïc
2019-05-13 00:20:47 +01:00
committed by Asher Baker
parent 15a7faeafd
commit 6addc5c8dd
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -405,7 +405,7 @@ bool TestVoteDelay(int client)
{ {
if (delay > 60) if (delay > 60)
{ {
ReplyToCommand(client, "[SM] %t", "Vote Delay Minutes", delay % 60); ReplyToCommand(client, "[SM] %t", "Vote Delay Minutes", (delay / 60));
} }
else else
{ {
+1 -1
View File
@@ -324,7 +324,7 @@ bool TestVoteDelay(int client)
{ {
if (delay > 60) if (delay > 60)
{ {
ReplyToCommand(client, "[SM] %t", "Vote Delay Minutes", delay % 60); ReplyToCommand(client, "[SM] %t", "Vote Delay Minutes", (delay / 60));
} }
else else
{ {