summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2017-07-09 12:28:08 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2017-07-09 12:28:08 +0200
commitbb1e5569d0b85c00f1dd78f31b5f2b5e9f2690a8 (patch)
tree7185686d4088b1f460c264111ca5f436a21401c2
parent704ab925e92097778821d36954699f665028254d (diff)
downloadii-bb1e5569d0b85c00f1dd78f31b5f2b5e9f2690a8.zip
ii-bb1e5569d0b85c00f1dd78f31b5f2b5e9f2690a8.tar.gz
ii-bb1e5569d0b85c00f1dd78f31b5f2b5e9f2690a8.tar.bz2
allow some more characters in the channel name
-rw-r--r--ii.c2
1 files changed, 1 insertions, 1 deletions
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 = '_';
}
}