1
0
mirror of https://git.teknik.io/Teknikode/Teknik.git synced 2023-08-02 14:16:22 +02:00

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

This commit is contained in:
Uncled1023 2016-06-19 23:43:19 -07:00
parent 442bd814e6
commit dafa9c6e21

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;