Fix wrong formatting to "Vote Delay Minutes" when delay above 60s (#1009)
Fixes #1007
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
+1
-1
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user