Nico Golde <nion@wmii.de>

This commit is contained in:
nion@noname 2005-12-27 00:08:44 +01:00
parent bcda412c5d
commit 1f044f1d1b

3
ii.c
View File

@ -193,6 +193,9 @@ static void proc_fifo_input(int fd, char *buffer)
case 'a': case 'a':
snprintf(buf, PIPE_BUF, "-!- %s is away \"%s\"", nick, &buffer[3]); snprintf(buf, PIPE_BUF, "-!- %s is away \"%s\"", nick, &buffer[3]);
print_out(fifo[fd], buf); print_out(fifo[fd], buf);
if(&buffer[3] == nil)
snprintf(buf, PIPE_BUF, "AWAY\r\n");
else
snprintf(buf, PIPE_BUF, "AWAY :%s\r\n", &buffer[3]); snprintf(buf, PIPE_BUF, "AWAY :%s\r\n", &buffer[3]);
break; break;
case 'm': case 'm':