diff --git a/src/Artemis.Core/Plugins/Modules/ActivationRequirements/ProcessActivationRequirement.cs b/src/Artemis.Core/Plugins/Modules/ActivationRequirements/ProcessActivationRequirement.cs index a773160df..e50f6241e 100644 --- a/src/Artemis.Core/Plugins/Modules/ActivationRequirements/ProcessActivationRequirement.cs +++ b/src/Artemis.Core/Plugins/Modules/ActivationRequirements/ProcessActivationRequirement.cs @@ -22,7 +22,7 @@ namespace Artemis.Core.Modules /// The location of where the process must be running from (optional) public ProcessActivationRequirement(string? processName, string? location = null) { - if (string.IsNullOrWhiteSpace(ProcessName) && string.IsNullOrWhiteSpace(Location)) + if (string.IsNullOrWhiteSpace(processName) && string.IsNullOrWhiteSpace(location)) throw new ArgumentNullException($"Atleast one {nameof(processName)} and {nameof(location)} must not be null"); // Let's not make a habit out of this :P