mirror of
https://github.com/jeremyd/ergo.git
synced 2026-05-29 21:59:27 -07:00
add ip-check-script.exempt-sasl
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user