ii

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

bb1e5569d0b85c00f1dd78f31b5f2b5e9f2690a8

Author: Hiltjo Posthuma on 07/09/2017

Committer: Hiltjo Posthuma on 07/09/2017

allow some more characters in the channel name

Stats

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

Patch

diff --git a/ii.c b/ii.c
index 72e59b5..6583792 100644
--- a/ii.c
+++ b/ii.c
@@ -141,7 +141,7 @@ channel_normalize_path(char *s)
 	for (; *s; s++) {
 		if (isalpha(*s))
 			*s = tolower(*s);
-		else if (!isdigit(*s) && !strchr(".#&", *s))
+		else if (!isdigit(*s) && !strchr(".#&+!-", *s))
 			*s = '_';
 	}
 }