allow some more characters in the channel name - ii - irc it, simple FIFO based… | |
git clone git://git.suckless.org/ii | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit bb1e5569d0b85c00f1dd78f31b5f2b5e9f2690a8 | |
parent 704ab925e92097778821d36954699f665028254d | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Sun, 9 Jul 2017 12:28:08 +0200 | |
allow some more characters in the channel name | |
Diffstat: | |
M ii.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git 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 = '_'; | |
} | |
} |