Fix a typo.
This commit is contained in:
parent
33f632036e
commit
be8318f014
|
@ -392,7 +392,7 @@ function preprocessConfig(cfg) {
|
||||||
cfg["channel-blacklist"] = tbl;
|
cfg["channel-blacklist"] = tbl;
|
||||||
|
|
||||||
/* Check channel path */
|
/* 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.");
|
LOGGER.error("Channel paths may only use the same characters as usernames and channel names.");
|
||||||
process.exit(78); // sysexits.h for bad config
|
process.exit(78); // sysexits.h for bad config
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue