From be8318f014f35d058b5895afd2f0950d6a20c092 Mon Sep 17 00:00:00 2001 From: Xaekai Date: Fri, 16 Jun 2017 21:50:17 -0700 Subject: [PATCH] Fix a typo. --- src/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.js b/src/config.js index 1d9839fe..7e65949d 100644 --- a/src/config.js +++ b/src/config.js @@ -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 }