ii

git clone https://orangeshoelaces.net/git/ii.git

cf1f7a56b404e56d122002fbfc1c26cf62b44771

Author: nion@localhost on 11/07/2006

Committer: nion@localhost on 11/07/2006

compatibility for bitlbee and stuff

Stats

ii.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/ii.c b/ii.c
index 2fe4365..615cced 100644
--- a/ii.c
+++ b/ii.c
@@ -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]);
 		}