package hackers_git import p "nslcd_proto" func (o *Hackers) Config_Get(cred p.Ucred, req p.Request_Config_Get) <-chan p.Config { o.lock.RLock() ret := make(chan p.Config) go func() { defer o.lock.RUnlock() defer close(ret) switch req.Key { case p.NSLCD_CONFIG_PAM_PASSWORD_PROHIBIT_MESSAGE: if o.Cfg.Pam_password_prohibit_message != "" { ret <- p.Config{Value: o.Cfg.Pam_password_prohibit_message} } } }() return ret }