mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-23 21:51:29 +00:00
Remove unused import and replace removed logger
This commit is contained in:
parent
27f0a81dc5
commit
78b0f587ae
2 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue