summaryrefslogtreecommitdiff
path: root/src/nshd/hackers_git/db_config.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-08-28 20:43:12 -0600
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-08-28 20:43:12 -0600
commitb55355121e0ed259097254447f16739b0f3da61d (patch)
tree3149a5cfe50952e9a3ea6c9a9e888b3da72dbfff /src/nshd/hackers_git/db_config.go
parent3c237531f5067340e34b01c7f7ea45fa55c39657 (diff)
implement hackers_watch
Diffstat (limited to 'src/nshd/hackers_git/db_config.go')
-rw-r--r--src/nshd/hackers_git/db_config.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nshd/hackers_git/db_config.go b/src/nshd/hackers_git/db_config.go
index 9ed978f..5ef4fe6 100644
--- a/src/nshd/hackers_git/db_config.go
+++ b/src/nshd/hackers_git/db_config.go
@@ -10,7 +10,9 @@ func (o *Hackers) Config_Get(cred p.Ucred, req p.Request_Config_Get) p.Config_En
switch req {
case p.NSLCD_CONFIG_PAM_PASSWORD_PROHIBIT_MESSAGE:
- val = &o.pam_password_prohibit_message
+ if o.cfg.Pam_password_prohibit_message != "" {
+ val = &o.cfg.Pam_password_prohibit_message
+ }
}
if val != nil {