diff -r d93eaacde742 ii.c --- a/ii.c Fri Jun 25 10:55:05 2010 +0200 +++ b/ii.c Fri Jun 25 10:59:35 2010 -0700 @@ -211,6 +211,7 @@ if(strstr(buf, server)) channel=""; create_filepath(outfile, sizeof(outfile), channel, "out"); if(!(out = fopen(outfile, "a"))) return; + if(channel && channel[0]) add_channel(channel); strftime(buft, sizeof(buft), "%F %R", localtime(&t)); fprintf(out, "%s %s\n", buft, buf);