Skip to content

Commit

Permalink
Include bans in adminremarks command (#26240)
Browse files Browse the repository at this point in the history
Fixes #20645
  • Loading branch information
PJB3005 authored Mar 18, 2024
1 parent 7dc7750 commit f55c98c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Content.Server/Database/ServerDbBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1368,6 +1368,8 @@ public async Task<List<IAdminRemarksRecord>> GetVisibleAdminRemarks(Guid player)
.Include(note => note.Player)
.ToListAsync()).Select(MakeAdminNoteRecord));
notesCol.AddRange(await GetMessagesImpl(db, player));
notesCol.AddRange(await GetServerBansAsNotesForUser(db, player));
notesCol.AddRange(await GetGroupedServerRoleBansAsNotesForUser(db, player));
return notesCol;
}

Expand Down

0 comments on commit f55c98c

Please sign in to comment.