mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-16 00:20:50 +00:00
Round 2 of nullable checks
This commit is contained in:
@@ -80,7 +80,7 @@ namespace ArchiSteamFarm.IPC.Integration {
|
||||
throw new ArgumentNullException(nameof(context) + " || " + nameof(ClearFailedAuthorizationsTimer));
|
||||
}
|
||||
|
||||
string? ipcPassword = ASF.GlobalConfig?.IPCPassword ?? GlobalConfig.DefaultIPCPassword;
|
||||
string? ipcPassword = ASF.GlobalConfig != null ? ASF.GlobalConfig.IPCPassword : GlobalConfig.DefaultIPCPassword;
|
||||
|
||||
if (string.IsNullOrEmpty(ipcPassword)) {
|
||||
return HttpStatusCode.OK;
|
||||
|
||||
Reference in New Issue
Block a user