From e1dcfc0d32c98505df553978ae9f750dccd0b2a3 Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Fri, 27 Jan 2006 13:50:03 +0200 Subject: [PATCH] appliead patch by Kai Ruemmler to fix command handling --- ii.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ii.c b/ii.c index bef731d..d178972 100644 --- a/ii.c +++ b/ii.c @@ -236,8 +236,7 @@ static void proc_channels_input(int fd, char *buf) char *p; Channel *c = get_channel(fd); - /*int ret = 1; */ - if(c->name[0] != '/' && c->name[0] != 0) { + if(buf[0] != '/' && buf[0] != 0) { proc_channels_privmsg(c->name, buf); return; }