This commit is contained in:
Erik 2022-07-24 12:10:16 +03:00
parent eec63d5542
commit 79de06d966
Signed by: Navy.gif
GPG Key ID: 811EC0CD80E7E5FB

View File

@ -415,7 +415,7 @@ class SettingsMigrator {
default: 'You were **{infraction}** {from|on} the server `{server}`, your infraction details are below.'
}
};
if (privatelog.onban) settings.dminfraction.messages.BAN = moderation.onban;
if (privatelog?.onban) settings.dminfraction.messages.BAN = moderation.onban;
}
return settings;