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:
parent
442bd814e6
commit
dafa9c6e21
@ -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…
Reference in New Issue
Block a user