fixed code quotes not working

This commit is contained in:
Miodec 2022-10-13 14:35:51 +02:00
parent a10b3a83dd
commit cf3cb5e4c2

View file

@ -895,7 +895,7 @@ export async function init(): Promise<void> {
if (Config.mode === "quote") {
const group = await Misc.findCurrentGroup(Config.language);
if (group && group.name !== Config.language) {
if (group && group.name !== "code" && group.name !== Config.language) {
UpdateConfig.setLanguage(group.name);
}
}