allow some more characters in the channel name - ii - irc it, simple FIFO based irc client
HTML git clone git://git.suckless.org/ii
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit bb1e5569d0b85c00f1dd78f31b5f2b5e9f2690a8
DIR parent 704ab925e92097778821d36954699f665028254d
HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
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(-)
---
DIR 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 = '_';
}
}