|
|
@@ -239,7 +239,7 @@ parse_command(char const * cmd) |
|
|
|
ircmsg(creds.channel, "%s: %s", current_username, msgswp); |
|
|
|
} |
|
|
|
#endif /* 0 */ |
|
|
|
else if (strncmp(cmd, "magic", 5) == 0) |
|
|
|
if (strncmp(cmd, "magic", 5) == 0) |
|
|
|
{ ircmsg(creds.channel, "%s: " IRC_YELLOW "%d" IRC_STOP, current_username, (rand() % atoi(arg)) + 1); } |
|
|
|
else if (strncmp(cmd, "poll", 4) == 0) |
|
|
|
{ |
|
|
|