Initial .NET Core 2.0 port

This commit is contained in:
JustArchi
2017-06-26 03:36:51 +02:00
parent abdab30c15
commit 0ecf6da44e
573 changed files with 52 additions and 496834 deletions

View File

@@ -248,16 +248,6 @@ namespace ArchiSteamFarm {
internal void Init(Bot bot) => Bot = bot ?? throw new ArgumentNullException(nameof(bot));
internal static async Task OnTimeChanged() {
await TimeSemaphore.WaitAsync().ConfigureAwait(false);
try {
SteamTimeDifference = null;
} finally {
TimeSemaphore.Release();
}
}
private string GenerateConfirmationKey(uint time, string tag = null) {
if (time == 0) {
Bot.ArchiLogger.LogNullError(nameof(time));