Introduction
Introduction Statistics Contact Development Disclaimer Help
enabled joining channels with password - ii - irc it, simple FIFO based irc cli…
git clone git://git.suckless.org/ii
Log
Files
Refs
README
LICENSE
---
commit fcef69cf32b83dbe2e013e094fe5ee6c02c6fb51
parent ab89c0c4f51e6b22ec6ba254e753b8b4a91a2096
Author: nion@aurora <unknown>
Date: Fri, 22 Jun 2007 13:40:24 +0200
enabled joining channels with password
Diffstat:
M ii.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/ii.c b/ii.c
@@ -237,10 +237,11 @@ static void proc_channels_input(Channel *c, char *buf) {
p = strchr(&buf[3], ' ');
if(p) *p = 0;
if((buf[3]=='#')||(buf[3]=='&')||(buf[3]=='+')||(buf[3…
- snprintf(message, PIPE_BUF, "JOIN %s\r\n", &bu…
+ if(p) snprintf(message, PIPE_BUF, "JOIN %s %s\…
+ else snprintf(message, PIPE_BUF, "JOIN %s\r\n"…
add_channel(&buf[3]);
}
- else{
+ else {
if(p){
add_channel(&buf[3]);
proc_channels_privmsg(&buf[3], p + 1);
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.