From 0818b0479b007cfc7a252b37deafaff4fd07b6ac Mon Sep 17 00:00:00 2001 From: Dragory <2606411+Dragory@users.noreply.github.com> Date: Sat, 18 Jan 2020 11:23:38 +0200 Subject: [PATCH] Small code clean-up --- 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 b76b5e27..567878d8 100644 --- a/backend/src/plugins/Mutes.ts +++ b/backend/src/plugins/Mutes.ts @@ -141,7 +141,7 @@ export class MutesPlugin extends ZeppelinPlugin { const muteRole = this.getConfig().mute_role; if (!muteRole) return; - const timeUntilUnmute = muteTime ? muteTime && humanizeDuration(muteTime) : "indefinite"; + const timeUntilUnmute = muteTime ? humanizeDuration(muteTime) : "indefinite"; // No mod specified -> mark Zeppelin as the mod if (!caseArgs.modId) {