mirror of
https://github.com/Spengreb/sync.git
synced 2026-05-14 03:32:06 +00:00
commit
efae9c4774
1 changed files with 1 additions and 1 deletions
|
|
@ -392,7 +392,7 @@ function preprocessConfig(cfg) {
|
|||
cfg["channel-blacklist"] = tbl;
|
||||
|
||||
/* Check channel path */
|
||||
if(!/^[-\w]+$/.test(cfg["channel-blacklist"])){
|
||||
if(!/^[-\w]+$/.test(cfg["channel-path"])){
|
||||
LOGGER.error("Channel paths may only use the same characters as usernames and channel names.");
|
||||
process.exit(78); // sysexits.h for bad config
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue