mirror of
https://github.com/foxcpp/maddy.git
synced 2025-04-06 22:47:37 +03:00
Rename modules and introduce namespace-aware module name lookups
See #248.
This commit is contained in:
parent
4ea9f1eef7
commit
03d9e52627
44 changed files with 184 additions and 123 deletions
|
@ -93,7 +93,7 @@ func (s *SASLAuth) CreateSASL(mech string, remoteAddr net.Addr, successCb func(i
|
|||
// the 'auth' configuration directive.
|
||||
func (s *SASLAuth) AddProvider(m *config.Map, node config.Node) error {
|
||||
var any interface{}
|
||||
if err := modconfig.ModuleFromNode(node.Args, node, m.Globals, &any); err != nil {
|
||||
if err := modconfig.ModuleFromNode("auth", node.Args, node, m.Globals, &any); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue