Fix markdown command

This commit is contained in:
Yohann D'ANELLO 2021-01-06 15:48:02 +01:00
parent fdc89bfe53
commit 40a22b20c8
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85
1 changed files with 1 additions and 1 deletions

View File

@ -565,7 +565,7 @@ class Squirrel(Hazelnut):
"Emojis support " + ("disabled" if self.squinnondation.no_emoji else "enabled") + ".",
ignore_debug=True)
elif command == "markdown":
self.squinnondation.debug ^= True
self.squinnondation.no_markdown ^= True
self.add_system_message(
"Markdown support " + ("disabled" if self.squinnondation.no_markdown else "enabled") + ".",
ignore_debug=True)