mirror of
https://github.com/JustArchiNET/ArchiSteamFarm
synced 2024-11-10 15:14:41 +00:00
Initialize RemoteCommunication always
This caused people with remote communication of 0 unable to use match actively, which is not required. Remote communication is already coded to handle only what user configures it to do so.
This commit is contained in:
parent
19cacbecdd
commit
b081b8eaba
1 changed files with 0 additions and 5 deletions
|
@ -32,7 +32,6 @@ using ArchiSteamFarm.Plugins;
|
|||
using ArchiSteamFarm.Plugins.Interfaces;
|
||||
using ArchiSteamFarm.Steam;
|
||||
using ArchiSteamFarm.Steam.Integration.Callbacks;
|
||||
using ArchiSteamFarm.Steam.Storage;
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using SteamKit2;
|
||||
|
@ -92,10 +91,6 @@ internal sealed class ItemsMatcherPlugin : OfficialPlugin, IBot, IBotCommand2, I
|
|||
await remoteCommunication.DisposeAsync().ConfigureAwait(false);
|
||||
}
|
||||
|
||||
if (bot.BotConfig.RemoteCommunication == BotConfig.ERemoteCommunication.None) {
|
||||
return;
|
||||
}
|
||||
|
||||
remoteCommunication = new RemoteCommunication(bot);
|
||||
|
||||
if (!RemoteCommunications.TryAdd(bot, remoteCommunication)) {
|
||||
|
|
Loading…
Reference in a new issue