ii

irc it, simple FIFO based irc client
git clone git://git.suckless.org/ii
Log | Files | Refs | README | LICENSE

commit 3b90ed7d72e6bfb1fe08196e3ac8452da5d7b8de
parent 093ca97df3f3352bb9637ab3112e38615b1a3003
Author: nion@noname <unknown>
Date:   Sun, 29 Jan 2006 16:41:34 +0100

removed CHAN information from quit message because its useless

Diffstat:
Mii.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ii.c b/ii.c @@ -44,7 +44,7 @@ static void usage() { fprintf(stderr, "%s", "ii - irc it - " VERSION "\n" - " (C)opyright MMVI Anselm R. Garbe, Nico Golde\n" + "(C)opyright MMVI Anselm R. Garbe, Nico Golde\n" "usage: ii [-i <irc dir>] [-s <host>] [-p <port>]\n" " [-n <nick>] [-k <password>] [-f <fullname>]\n"); exit(EXIT_SUCCESS); @@ -361,7 +361,7 @@ static void proc_server_cmd(char *buf) } else if(!strncmp("MODE", argv[TOK_CMD], 5)) snprintf(message, PIPE_BUF, "-!- %s changed mode/%s -> %s %s", argv[TOK_NICKSRV], argv[TOK_CMD + 1], argv[TOK_CMD + 2], argv[TOK_CMD + 3]); else if(!strncmp("QUIT", argv[TOK_CMD], 5)) - snprintf(message, PIPE_BUF, "-!- %s(%s) has quit %s \"%s\"", argv[TOK_NICKSRV], argv[TOK_USER], argv[TOK_CHAN], argv[TOK_TEXT] ? argv[TOK_TEXT] : ""); + snprintf(message, PIPE_BUF, "-!- %s(%s) has quit \"%s\"", argv[TOK_NICKSRV], argv[TOK_USER], argv[TOK_TEXT] ? argv[TOK_TEXT] : ""); else if(!strncmp("NICK", argv[TOK_CMD], 5)) snprintf(message, PIPE_BUF, "-!- %s changed nick to %s", argv[TOK_NICKSRV], argv[TOK_TEXT]); else if(!strncmp("TOPIC", argv[TOK_CMD], 6))