appliead patch by Kai Ruemmler to fix command handling

This commit is contained in:
Anselm R. Garbe 2006-01-27 13:50:03 +02:00
parent 91ef528771
commit e1dcfc0d32

3
ii.c
View File

@ -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;
}