Remove extraneous code in if(false)

This commit is contained in:
7cc5c4f330d47060 2024-10-23 21:18:25 -04:00
parent 8f460d56a9
commit 6c2f05c487
Signed by: 7cc5c4f330d47060
SSH key fingerprint: SHA256:e+4tcZut1nBpe10PqjaO+Rvie0Q7W4qIvFzcUw+7riA

View file

@ -31,18 +31,6 @@ const convertChatTypeItem = (item) => {
// Level 1: server chat format parsers
// Level 2: generic parsers
if(false){
for (const plugin of bpl) {
if (!plugin.endsWith('.js')) {
continue
}
try {
const parser = require(`./chatParsers/${plugin}`)
parsers[parser.priority].push(parser.parse)
} catch (e) { console.log(e) }
}
}
const parsers = [[], [], []]
const bpl = readdirSync('chatParsers')
for (const plugin of bpl) {