Browse Source

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

pull/29/head
Teknikode 6 years ago
parent
commit
dafa9c6e21
  1. 2
      ServerMaint/Program.cs

2
ServerMaint/Program.cs

@ -487,7 +487,7 @@ Thank you for your continued use of Teknik! @@ -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