compatibility for bitlbee and stuff

This commit is contained in:
nion@localhost 2006-11-07 20:21:24 +01:00
parent 0fb686f3f4
commit cf1f7a56b4

2
ii.c
View File

@ -248,7 +248,7 @@ static void proc_channels_input(Channel *c, char *buf)
p = strchr(&buf[3], ' ');
if(p)
*p = 0;
if(buf[3]=='#'){
if((buf[3]=='#')||(buf[3]=='&')||(buf[3]=='+')||(buf[3]=='!')){
snprintf(message, PIPE_BUF, "JOIN %s\r\n", &buf[3]);
add_channel(&buf[3]);
}