Skip to content

Commit

Permalink
Fix logging of admin announcements in admin logs. (#12778)
Browse files Browse the repository at this point in the history
  • Loading branch information
PJB3005 authored Nov 27, 2022
1 parent 3884c4d commit cd6d4cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Content.Server/Chat/Managers/ChatManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public void SendAdminAnnouncement(string message)
("adminChannelName", Loc.GetString("chat-manager-admin-channel-name")), ("message", FormattedMessage.EscapeText(message)));

ChatMessageToMany(ChatChannel.Admin, message, wrappedMessage, default, false, true, clients);
_adminLogger.Add(LogType.Chat, LogImpact.Low, $"Admin announcement from {message}: {message}");
_adminLogger.Add(LogType.Chat, LogImpact.Low, $"Admin announcement: {message}");
}

public void SendHookOOC(string sender, string message)
Expand Down

0 comments on commit cd6d4cb

Please sign in to comment.