compatibility for bitlbee and stuff
This commit is contained in:
parent
0fb686f3f4
commit
cf1f7a56b4
2
ii.c
2
ii.c
@ -248,7 +248,7 @@ static void proc_channels_input(Channel *c, char *buf)
|
|||||||
p = strchr(&buf[3], ' ');
|
p = strchr(&buf[3], ' ');
|
||||||
if(p)
|
if(p)
|
||||||
*p = 0;
|
*p = 0;
|
||||||
if(buf[3]=='#'){
|
if((buf[3]=='#')||(buf[3]=='&')||(buf[3]=='+')||(buf[3]=='!')){
|
||||||
snprintf(message, PIPE_BUF, "JOIN %s\r\n", &buf[3]);
|
snprintf(message, PIPE_BUF, "JOIN %s\r\n", &buf[3]);
|
||||||
add_channel(&buf[3]);
|
add_channel(&buf[3]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user