3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-10 12:25:02 +00:00
This commit is contained in:
almeidx 2021-07-28 23:30:52 +01:00
parent 60caa3153b
commit b4ba1daa76
No known key found for this signature in database
GPG key ID: 8558FBFF849BD664
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,