Make it possible to combine --server --client

This commit is contained in:
JustArchi
2016-11-13 15:51:35 +01:00
parent 10dbec9a67
commit cba64531fa
3 changed files with 28 additions and 28 deletions

View File

@@ -87,7 +87,7 @@ namespace ArchiSteamFarm {
}
internal void StartServer() {
if (ServiceHost != null) {
if (IsServerRunning) {
return;
}
@@ -113,7 +113,7 @@ namespace ArchiSteamFarm {
}
internal void StopServer() {
if (ServiceHost == null) {
if (!IsServerRunning) {
return;
}