git clone https://orangeshoelaces.net/git/ii.git
Author: Anselm R. Garbe on 01/27/2006
Committer: Anselm R. Garbe on 01/27/2006
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;
}