Message inconsistency fixed

This commit is contained in:
Emil 2023-08-18 07:39:06 -06:00
parent 5b7f599a76
commit 4b2a66d6e2
No known key found for this signature in database
GPG Key ID: 5432DB986FDBCF8A

View File

@ -257,7 +257,7 @@ parse_command(char const * cmd)
if (!vote_count) if (!vote_count)
{ ircmsg(creds.channel, "!poll NUMBER_OF_VOTES What your voting on ..."); } { ircmsg(creds.channel, "!poll NUMBER_OF_VOTES What your voting on ..."); }
else else
{ ircmsg(creds.channel, "poll start"); } { ircmsg(creds.channel, "poll: start"); }
} }
else if (strncmp(cmd, "vote", 4) == 0) else if (strncmp(cmd, "vote", 4) == 0)
{ {
@ -273,7 +273,7 @@ parse_command(char const * cmd)
if (--vote_count) if (--vote_count)
{ ircmsg(creds.channel, "Votes remaining: %d", vote_count - 1); } { ircmsg(creds.channel, "Votes remaining: %d", vote_count - 1); }
else else
{ ircmsg(creds.channel, "poll results: %s", MAX(yes,no) ? "PASSED" : "REJECTED"); } { ircmsg(creds.channel, "poll: %s", MAX(yes,no) ? "PASSED" : "REJECTED"); }
} }
} }
} }