diff options
Diffstat (limited to 'src/nshd/hackers_git/db_config.go')
-rw-r--r-- | src/nshd/hackers_git/db_config.go | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/nshd/hackers_git/db_config.go b/src/nshd/hackers_git/db_config.go index 5ef4fe6..aa8bef8 100644 --- a/src/nshd/hackers_git/db_config.go +++ b/src/nshd/hackers_git/db_config.go @@ -1,6 +1,9 @@ package hackers_git -import p "nslcd_proto" +import ( + p "nslcd_proto" + "nslcd_proto/util" +) func (o *Hackers) Config_Get(cred p.Ucred, req p.Request_Config_Get) p.Config_Enumerator { o.lock.RLock() @@ -16,8 +19,8 @@ func (o *Hackers) Config_Get(cred p.Ucred, req p.Request_Config_Get) p.Config_En } if val != nil { - return p.New_Config_List([]p.Config{p.Config(*val)}) + return util.New_Config_List([]p.Config{p.Config(*val)}) } else { - return p.Config_Ø{} + return util.Config_Ø{} } } |