[i] deferred removal from whitelist
This commit is contained in:
@ -22,6 +22,7 @@ type Config struct {
|
||||
Jobs uint
|
||||
OutputMode string
|
||||
DenyTime uint
|
||||
AllowTime uint
|
||||
MaxConn uint
|
||||
|
||||
ShowVersion bool
|
||||
@ -79,4 +80,7 @@ func (cfg *Config) SetEmptyArgs() {
|
||||
if cfg.DenyTime == 0 {
|
||||
cfg.DenyTime = 20 * 60
|
||||
}
|
||||
if cfg.AllowTime == 0 {
|
||||
cfg.AllowTime = 20 * 60
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user