From a37624a50d017fefeca65ab453a61795fcad1b22 Mon Sep 17 00:00:00 2001 From: roflmaoqwerty Date: Tue, 21 Jan 2020 22:34:01 +1100 Subject: [PATCH] simplified reason assignment --- backend/src/plugins/Mutes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/plugins/Mutes.ts b/backend/src/plugins/Mutes.ts index 8a63b6d9..0f3c2884 100644 --- a/backend/src/plugins/Mutes.ts +++ b/backend/src/plugins/Mutes.ts @@ -188,7 +188,7 @@ export class MutesPlugin extends ZeppelinPlugin { template && (await renderTemplate(template, { guildName: this.guild.name, - reason: !reason || reason === "" ? "None" : reason, + reason: reason || "None", time: timeUntilUnmute, }));