sites

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit aa717b1814fb3447a1bb7ec44e03f396cab4e57c
parent a0b432c316f24c6360c3197d1455edae2573a01c
Author: Evan Gates <evan.gates@gmail.com>
Date:   Fri,  2 Jul 2010 11:47:58 -0700

small fix to the joinuser patch (so we don't get the message from the server)
Diffstat:
Mtools.suckless.org/ii/patches/ii-1.4-joinuser.diff | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools.suckless.org/ii/patches/ii-1.4-joinuser.diff b/tools.suckless.org/ii/patches/ii-1.4-joinuser.diff @@ -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 @@ -105,6 +105,7 @@ return open(infile, O_RDONLY | O_NONBLOCK, 0); } @@ -14,7 +14,7 @@ diff -r d93eaacde742 ii.c 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);