small fixes

This commit is contained in:
timerix 2022-10-15 01:07:08 +06:00
parent 9bd96b0614
commit d41e4207e0
2 changed files with 1 additions and 8 deletions

View File

@ -79,7 +79,7 @@ internal static partial class Launcher
tabs.Log = "";
tabs.Current = "";
var hasher = new Hasher();
var password_hash = new byte[0];
var password_hash = Array.Empty<byte>();
// username
var username = "";
if (!config.Username.IsNullOrEmpty())

View File

@ -1,13 +1,8 @@
using System;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Json;
using System.Net.Sockets;
using System.Text;
using System.Text.Json;
using System.Text.Json.Nodes;
using System.Text.Json.Serialization;
using System.Threading;
using DTLib;
using DTLib.Dtsod;
@ -15,8 +10,6 @@ using DTLib.Extensions;
using DTLib.Filesystem;
using DTLib.Logging;
using DTLib.Network;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace launcher_server;