Nico Golde <nion@wmii.de>
This commit is contained in:
parent
bcda412c5d
commit
1f044f1d1b
5
ii.c
5
ii.c
@ -193,7 +193,10 @@ 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);
|
||||||
snprintf(buf, PIPE_BUF, "AWAY :%s\r\n", &buffer[3]);
|
if(&buffer[3] == nil)
|
||||||
|
snprintf(buf, PIPE_BUF, "AWAY\r\n");
|
||||||
|
else
|
||||||
|
snprintf(buf, PIPE_BUF, "AWAY :%s\r\n", &buffer[3]);
|
||||||
break;
|
break;
|
||||||
case 'm':
|
case 'm':
|
||||||
p = strchr(&buffer[3], ' ');
|
p = strchr(&buffer[3], ' ');
|
||||||
|
Loading…
Reference in New Issue
Block a user