Hotfix 2
This commit is contained in:
parent
19b55a6873
commit
6a01ac1834
@ -140,7 +140,7 @@ event_channel(irc_session_t * lsession,
|
||||
(void) message;
|
||||
(void) count;
|
||||
/* Logs the message */
|
||||
printf(message);
|
||||
printf("%s\n", message);
|
||||
/* parses the command */
|
||||
if (*message == PREFIX_COMMAND_CHAR)
|
||||
{ current_username = get_username(origin); }
|
||||
@ -268,8 +268,9 @@ parse_command(char const * cmd)
|
||||
else
|
||||
{
|
||||
ircmsg(creds.channel, "poll results: %s",
|
||||
MAX(undecided,MAX(yes,no)) ? "UNDECIDED" :
|
||||
MAX(yes,no) ? "PASSED" : "REJECTED");
|
||||
MAX(undecided,MAX(yes,no)) ||
|
||||
yes == no ? "UNDECIDED" :
|
||||
MAX(yes,no) ? "PASSED" : "REJECTED");
|
||||
vote_on = 0;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user