This commit is contained in:
M09Ic 2024-08-06 02:43:38 +08:00
parent 18e8594da1
commit dc8829ecca

View File

@ -521,7 +521,8 @@ func (opt *Option) BuildWords(r *Runner) error {
logs.Log.Logf(pkg.LogVerbose, "Loaded %d word from %s", len(dicts[i]), f) logs.Log.Logf(pkg.LogVerbose, "Loaded %d word from %s", len(dicts[i]), f)
} }
if len(dicts) == 0 {
if len(dicts) == 0 && opt.Word == "" {
r.IsCheck = true r.IsCheck = true
} }