From 4b2a66d6e2dc76280d0e11f9d625349599bfa617 Mon Sep 17 00:00:00 2001 From: Emil Date: Fri, 18 Aug 2023 07:39:06 -0600 Subject: [PATCH] Message inconsistency fixed --- src/irc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/irc.c b/src/irc.c index b2f18cc..eb393c1 100644 --- a/src/irc.c +++ b/src/irc.c @@ -47,7 +47,7 @@ IRC_GREEN "!remind " IRC_STOP " : Prints your assignment\n" IRC_GREEN "!poll " IRC_STOP " : Start the democratic process (N message ...])\n" IRC_GREEN "!vote " IRC_STOP " : Casts a vote (y/n [message ...])\n" IRC_GREEN "!stop " IRC_STOP " : Stop the current polling\n" -IRC_BLUE "!magic " IRC_STOP " : A random value at or below 100 or (N)\n"; +IRC_BLUE "!magic " IRC_STOP " : A random value at or below 100 or (N)\n"; DECL void parse_command(char const * cmd); DECL size_t parse_secondary_username(char const * msg); @@ -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"); } } } }