Skip to content

Commit

Permalink
Fix copy-paste error in AuditLogEntryImpl
Browse files Browse the repository at this point in the history
  • Loading branch information
wasdennnoch committed Jun 23, 2024
1 parent aa5afd1 commit 4ef9d33
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ public AuditLogEntryImpl(AuditLog auditLog, JsonNode data) {
if (actionType == AuditLogActionType.APPLICATION_COMMAND_PERMISSION_UPDATE) {
ApplicationCommandPermissionsImpl oldPermissionsValue = oldValue != null
? new ApplicationCommandPermissionsImpl(auditLog.getServer(), oldValue) : null;
ApplicationCommandPermissionsImpl newPermissionsValue = oldValue != null
ApplicationCommandPermissionsImpl newPermissionsValue = newValue != null
? new ApplicationCommandPermissionsImpl(auditLog.getServer(), newValue) : null;

change = new AuditLogChangeImpl<>(type, oldPermissionsValue, newPermissionsValue);
Expand Down

0 comments on commit 4ef9d33

Please sign in to comment.