Browse Source

Added check so that 'Server Admin' doens't get deleted

tags/2.0.3
Teknikode 3 years ago
parent
commit
dafa9c6e21
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      ServerMaint/Program.cs

+ 1
- 1
ServerMaint/Program.cs View File

@@ -487,7 +487,7 @@ Thank you for your continued use of Teknik!
}

// If the username is invalid, let's add it to the list
if (!UserHelper.ValidUsername(config, user.Username))
if (!UserHelper.ValidUsername(config, user.Username) && user.Username != "Server Admin")
{
foundUsers.Add(user.Username);
continue;

Loading…
Cancel
Save