[hackers] [ii] create in FIFO on receiving a PRIVMSG || Nico Golde

From: <hg_AT_suckless.org>
Date: Mon, 24 Jan 2011 15:47:30 +0000 (UTC)

changeset: 83:432e7812270f
parent: 79:c42a14596040
user: Nico Golde <nion_AT_suckless.org>
date: Mon Jan 24 16:13:04 2011 +0100
files: ii.c
description:
create in FIFO on receiving a PRIVMSG

diff -r c42a14596040 -r 432e7812270f ii.c
--- a/ii.c Sat Aug 09 13:45:55 2008 +0200
+++ b/ii.c Mon Jan 24 16:13:04 2011 +0100
@@ -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);
Received on Mon Jan 24 2011 - 16:47:30 CET

This archive was generated by hypermail 2.2.0 : Mon Jan 24 2011 - 16:48:04 CET