We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c99f3cf commit 68850c6Copy full SHA for 68850c6
Nuclei/Features/NucleiConfig.cs
@@ -202,6 +202,12 @@ internal static void ValidateSettings()
202
Nuclei.Logger?.LogWarning("TargetFrameRate cannot be less than -1! Setting to -1 (unlimited).");
203
TargetFrameRate.Value = -1;
204
}
205
+
206
+ if (CommandPrefix!.Value.Length == 0)
207
+ {
208
+ Nuclei.Logger?.LogWarning("CommandPrefix must not be empty! Resetting to default value.");
209
+ CommandPrefix.Value = DefaultCommandPrefix;
210
+ }
211
212
ValidateForUserErrors();
213
0 commit comments