forked from External/ergo
add ip-check-script.exempt-sasl
This commit is contained in:
parent
58d8421f44
commit
0a59f41cf9
5 changed files with 43 additions and 11 deletions
|
|
@ -84,7 +84,7 @@ type IPScriptOutput struct {
|
|||
Error string `json:"error"`
|
||||
}
|
||||
|
||||
func CheckIPBan(sem utils.Semaphore, config ScriptConfig, addr net.IP) (output IPScriptOutput, err error) {
|
||||
func CheckIPBan(sem utils.Semaphore, config IPCheckScriptConfig, addr net.IP) (output IPScriptOutput, err error) {
|
||||
if sem != nil {
|
||||
sem.Acquire()
|
||||
defer sem.Release()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue