[hackers] [ii] allow some more characters in the channel name || Hiltjo Posthuma

From: <git_AT_suckless.org>
Date: Sun, 9 Jul 2017 12:28:56 +0200 (CEST)

commit bb1e5569d0b85c00f1dd78f31b5f2b5e9f2690a8
Author: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
AuthorDate: Sun Jul 9 12:28:08 2017 +0200
Commit: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
CommitDate: Sun Jul 9 12:28:08 2017 +0200

    allow some more characters in the channel name

diff --git a/ii.c b/ii.c
index 72e59b5..6583792 100644
--- a/ii.c
+++ b/ii.c
_AT_@ -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 = '_';
         }
 }
Received on Sun Jul 09 2017 - 12:28:56 CEST

This archive was generated by hypermail 2.3.0 : Sun Jul 09 2017 - 12:36:36 CEST