3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00

Small code clean-up

This commit is contained in:
Dragory 2020-01-18 11:23:38 +02:00
parent 8245386f42
commit 0818b0479b
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1

View file

@ -141,7 +141,7 @@ export class MutesPlugin extends ZeppelinPlugin<TConfigSchema> {
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) {