Remove unused import and replace removed logger

This commit is contained in:
FeTetra 2024-11-13 21:20:54 -05:00
parent 27f0a81dc5
commit 78b0f587ae
2 changed files with 2 additions and 1 deletions

View file

@ -143,6 +143,8 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.";
string username = await this.database.UsernameFromGameToken(token);
if (ServerConfiguration.Instance.LogChatMessages) Logger.Info($"{username}: \"{message}\"", LogArea.Filter);
message = CensorHelper.FilterMessage(message,"in-game message", username);
return this.Ok(message);

View file

@ -5,7 +5,6 @@ using LBPUnion.ProjectLighthouse.Extensions;
using LBPUnion.ProjectLighthouse.Helpers;
using LBPUnion.ProjectLighthouse.Types.Entities.Interaction;
using LBPUnion.ProjectLighthouse.Types.Entities.Level;
using LBPUnion.ProjectLighthouse.Types.Entities.Profile;
using LBPUnion.ProjectLighthouse.Types.Entities.Token;
using LBPUnion.ProjectLighthouse.Types.Filter;
using LBPUnion.ProjectLighthouse.Types.Serialization;