diff options
Diffstat (limited to 'src/config.ts')
-rw-r--r-- | src/config.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.ts b/src/config.ts index 5b7b9929..7b8fe15b 100644 --- a/src/config.ts +++ b/src/config.ts @@ -285,7 +285,7 @@ async function migrateOldFormats() { // Check if off-topic category needs to be removed for (let i = 0; i < Config.config.categorySelections.length; i++) { if (Config.config.categorySelections[i].name === "offtopic") { - Config.config.categorySelections.splice(i); + Config.config.categorySelections.splice(i, 1); // Call set listener Config.config.categorySelections = Config.config.categorySelections; break; |