diff --git a/core/parser/message.py b/core/parser/message.py index 432be5a79a..36fb63425d 100644 --- a/core/parser/message.py +++ b/core/parser/message.py @@ -309,7 +309,7 @@ async def parser(msg: Bot.MessageSession, await msg.send_message( msg.locale.t("parser.module.disabled.prompt", module=command_first_word, prefix=msg.prefixes[0])) - if await msg.check_permission(), + if await msg.check_permission(): if await msg.wait_confirm(msg.locale.t("parser.module.disabled.to_enable")): msg.data.enable(command_first_word) await msg.send_message(msg.locale.t("core.message.module.enable.success", module=command_first_word))