Hotfix 3
This commit is contained in:
parent
6a01ac1834
commit
cc1cd29c93
@ -253,7 +253,7 @@ parse_command(char const * cmd)
|
||||
}
|
||||
else if (strncmp(cmd, "vote", 4) == 0)
|
||||
{
|
||||
/* fprintf(stderr, "y%d n%d u%d vote_count %d\n", yes, no, undecided, vote_count); */
|
||||
fprintf(stderr, "y%d n%d u%d vote_count %d\n", yes, no, undecided, vote_count);
|
||||
if (vote_on && vote_count)
|
||||
{
|
||||
switch (*arg)
|
||||
@ -268,9 +268,9 @@ parse_command(char const * cmd)
|
||||
else
|
||||
{
|
||||
ircmsg(creds.channel, "poll results: %s",
|
||||
MAX(undecided,MAX(yes,no)) ||
|
||||
yes == no ? "UNDECIDED" :
|
||||
MAX(yes,no) ? "PASSED" : "REJECTED");
|
||||
MAX(undecided,MAX(yes,no)) ? "UNDECIDED" :
|
||||
MAX(yes,no) ? "PASSED" :
|
||||
yes == no ? "REJECTED" : " UNDECIDED");
|
||||
vote_on = 0;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user