浏览代码

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

tags/2.0.3
Teknikode 4 年前
父节点
当前提交
dafa9c6e21
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      ServerMaint/Program.cs

+ 1
- 1
ServerMaint/Program.cs 查看文件

@@ -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;

正在加载...
取消
保存