commit e1dcfc0d32c98505df553978ae9f750dccd0b2a3
parent 91ef5287711ea61ef19fec598b372ba14c74e344
Author: Anselm R. Garbe <garbeam@wmii.de>
Date: Fri, 27 Jan 2006 13:50:03 +0200
appliead patch by Kai Ruemmler to fix command handling
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git 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;
}