This commit is contained in:
Anselm R. Garbe 2006-10-12 08:03:37 +02:00
parent 560111d4ba
commit 3160fd2bed

2
sic.c
View File

@ -86,7 +86,7 @@ parsein(char *msg) {
return; return;
} }
else if(!strncmp(msg + 1, "t ", 2)) { else if(!strncmp(msg + 1, "t ", 2)) {
if((p = strchr(&msg[3], ' ')) if((p = strchr(&msg[3], ' ')))
*(p++) = 0; *(p++) = 0;
snprintf(bufout, sizeof(bufout), "TOPIC %s :%s\r\n", &msg[3], p); snprintf(bufout, sizeof(bufout), "TOPIC %s :%s\r\n", &msg[3], p);
} }