Message inconsistency fixed
This commit is contained in:
parent
5b7f599a76
commit
4b2a66d6e2
@ -257,7 +257,7 @@ parse_command(char const * cmd)
|
||||
if (!vote_count)
|
||||
{ ircmsg(creds.channel, "!poll NUMBER_OF_VOTES What your voting on ..."); }
|
||||
else
|
||||
{ ircmsg(creds.channel, "poll start"); }
|
||||
{ ircmsg(creds.channel, "poll: start"); }
|
||||
}
|
||||
else if (strncmp(cmd, "vote", 4) == 0)
|
||||
{
|
||||
@ -273,7 +273,7 @@ parse_command(char const * cmd)
|
||||
if (--vote_count)
|
||||
{ ircmsg(creds.channel, "Votes remaining: %d", vote_count - 1); }
|
||||
else
|
||||
{ ircmsg(creds.channel, "poll results: %s", MAX(yes,no) ? "PASSED" : "REJECTED"); }
|
||||
{ ircmsg(creds.channel, "poll: %s", MAX(yes,no) ? "PASSED" : "REJECTED"); }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user