[hackers] [ii] document implication of autojoin patch and now tag 1.5 for real :) || Nico Golde

From: <hg_AT_suckless.org>
Date: Mon, 24 Jan 2011 16:52:43 +0000 (UTC)

changeset: 89:550ee1100719
tag: 1.5
user: Nico Golde <nion_AT_suckless.org>
date: Mon Jan 24 17:52:35 2011 +0100
files: CHANGES ii.c
description:
document implication of autojoin patch and now tag 1.5 for real :)

diff -r 0af87f98639a -r 550ee1100719 CHANGES
--- a/CHANGES Mon Jan 24 16:52:15 2011 +0100
+++ b/CHANGES Mon Jan 24 17:52:35 2011 +0100
@@ -5,6 +5,8 @@
       as raw irc (only worked for raw commands in capital lettersin the past) => Thanks samurai!
     - create in FIFO on receiving a privmsg directly instead of requiring a new
       /j command first => Thanks Evan Gates
+ this also implies that in FIFOs aren't deleted on channel leaves any longer because
+ this itself creates a channel event again which in turn would recreate the file
     - minor changes
 
 1.4 (2008-08-09):
diff -r 0af87f98639a -r 550ee1100719 ii.c
--- a/ii.c Mon Jan 24 16:52:15 2011 +0100
+++ b/ii.c Mon Jan 24 17:52:35 2011 +0100
@@ -226,7 +226,7 @@
 }
 
 static void proc_channels_input(Channel *c, char *buf) {
- static char infile[256];
+ /* static char infile[256]; */
         char *p = NULL;
 
         if(buf[0] != '/' && buf[0] != 0) {
@@ -280,8 +280,8 @@
                                                 "PART %s :ii - 500 SLOC are too much\r\n", c->name);
                         write(irc, message, strlen(message));
                         close(c->fd);
- create_filepath(infile, sizeof(infile), c->name, "in");
- unlink(infile);
+ /*create_filepath(infile, sizeof(infile), c->name, "in");
+ unlink(infile); */
                         rm_channel(c);
                         return;
                         break;
Received on Mon Jan 24 2011 - 17:52:43 CET

This archive was generated by hypermail 2.2.0 : Mon Jan 24 2011 - 18:00:08 CET