sic-nodefaultchan-20180524-9bb34de.diff - sites - public wiki contents of suckl… | |
git clone git://git.suckless.org/sites | |
Log | |
Files | |
Refs | |
--- | |
sic-nodefaultchan-20180524-9bb34de.diff (582B) | |
--- | |
1 From 9858964ec2b1eeffe9e112cc8a6272efdc3ea8c3 Mon Sep 17 00:00:00 2001 | |
2 From: Alexis Ben Miloud--Josselin <[email protected]> | |
3 Date: Thu, 24 May 2018 10:52:00 +0200 | |
4 Subject: [PATCH] Do not set default chan when joinning | |
5 | |
6 --- | |
7 sic.c | 2 -- | |
8 1 file changed, 2 deletions(-) | |
9 | |
10 diff --git a/sic.c b/sic.c | |
11 index ecefaf2..b7efd7e 100644 | |
12 --- a/sic.c | |
13 +++ b/sic.c | |
14 @@ -77,8 +77,6 @@ parsein(char *s) { | |
15 switch(c) { | |
16 case 'j': | |
17 sout("JOIN %s", p); | |
18 - if(channel[0] == '\0') | |
19 - strlcpy(channel, p, sizeof channel); | |
20 return; | |
21 case 'l': | |
22 s = eat(p, isspace, 1); | |
23 -- | |
24 2.11.0 | |
25 |