Fix irc prompt

This commit is contained in:
Kevin Lange 2014-05-23 12:44:14 -07:00
parent ad303097d3
commit 3743d0e311

View File

@ -801,7 +801,7 @@ DEFINE_SHELL_FUNCTION(irc_join, "irc channel tool") {
sprintf(irc_payload, "JOIN %s\r\n", channel);
irc_send(irc_payload);
sprintf(irc_prompt, "\r[%s] ", irc_nick, channel);
sprintf(irc_prompt, "\r[%s] ", channel);
while (1) {
fprintf(tty, irc_prompt);