Merge pull request #686 from Xaekai/silly.bug

Fix a typo.
This commit is contained in:
Calvin Montgomery 2017-06-16 22:00:02 -07:00 committed by GitHub
commit efae9c4774
1 changed files with 1 additions and 1 deletions

View File

@ -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
}