3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-25 18:25:03 +00:00
This commit is contained in:
almeidx 2021-07-28 23:30:52 +01:00
parent 67d4e07997
commit d8dee5a8ad
2 changed files with 6 additions and 6 deletions

View file

@ -44,7 +44,7 @@ export const CreateBanCaseOnManualBanEvt = modActionsEvt({
const config = mod instanceof UnknownUser ? pluginData.config.get() : await pluginData.config.getForUser(mod);
if (config.create_cases_for_manual_actions) {
reason = relevantAuditLogEntry.reason || "";
reason = relevantAuditLogEntry.reason ?? "";
createdCase = await casesPlugin.createCase({
userId: user.id,
modId,