Skip to content

Commit

Permalink
Update ServerCommandManager.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Byte-Nova committed Jun 23, 2024
1 parent a04aacc commit 0a048b8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Source/Server/Managers/ServerCommandManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -362,8 +362,7 @@ private static void BanCommandAction()
if (CheckIfIsAlready(userFile)) return;
else
{
userFile.IsBanned = true;
userFile.SaveUserFile();
toFind.userFile.UpdateBan(true);

Logger.Warning($"User '{commandParameters[0]}' has been banned from the server");
}
Expand Down

0 comments on commit 0a048b8

Please sign in to comment.