[wiki] [sites] wiki updated
changeset: 573:30919de8bee4
tag: tip
user: Evan Gates <evan.gates_AT_gmail.com>
date: Fri Jul 02 11:47:58 2010 -0700
files: tools.suckless.org/ii/patches/ii-1.4-joinuser.diff
description:
small fix to the joinuser patch (so we don't get the message from the server)
diff -r 4b094aa66267 -r 30919de8bee4 tools.suckless.org/ii/patches/ii-1.4-joinuser.diff
--- a/tools.suckless.org/ii/patches/ii-1.4-joinuser.diff Wed Jun 30 14:52:35 2010 -0700
+++ b/tools.suckless.org/ii/patches/ii-1.4-joinuser.diff Fri Jul 02 11:47:58 2010 -0700
_AT_@ -1,6 +1,6 @@
diff -r d93eaacde742 ii.c
--- a/ii.c Fri Jun 25 10:55:05 2010 +0200
-+++ b/ii.c Wed Jun 30 14:44:35 2010 -0700
++++ b/ii.c Fri Jul 02 11:46:55 2010 -0700
_AT_@ -105,6 +105,7 @@
return open(infile, O_RDONLY | O_NONBLOCK, 0);
}
_AT_@ -14,7 +14,7 @@
c->fd = fd;
c->name = strdup(name);
+
-+ if(!((name[0]=='#')||(name[0]=='&')||(name[0]=='+')||(name[0]=='!'))) {
++ if(name[0] && !((name[0]=='#')||(name[0]=='&')||(name[0]=='+')||(name[0]=='!'))) {
+ char msg[128];
+ snprintf(msg, PIPE_BUF, "-!- %s has joined %s", nick, name);
+ print_out(name, msg);
Received on Fri Jul 02 2010 - 20:47:58 CEST
This archive was generated by hypermail 2.3.0
: Thu Sep 13 2012 - 19:31:21 CEST