mirror of
https://github.com/foxcpp/maddy.git
synced 2025-04-03 21:27:35 +03:00
Clean-up lint warnings
This commit is contained in:
parent
120c5c9ea2
commit
dbc030c267
17 changed files with 9 additions and 28 deletions
1
maddy.go
1
maddy.go
|
@ -385,7 +385,6 @@ func RegisterModules(globals map[string]interface{}, nodes []config.Node) (endpo
|
|||
return nil, nil, err
|
||||
}
|
||||
|
||||
block := block
|
||||
module.RegisterInstance(inst, config.NewMap(globals, block))
|
||||
for _, alias := range modAliases {
|
||||
if module.HasInstance(alias) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue