fix: add back dataDir field to hilbish module

pull/78/head
sammyette 2021-10-17 17:16:49 -04:00
parent 7d9d3e4d72
commit 1e76b1501f
No known key found for this signature in database
GPG Key ID: 50EE40A2809851F5
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@ func HilbishLoader(L *lua.LState) int {
L.SetField(mod, "user", lua.LString(username)) L.SetField(mod, "user", lua.LString(username))
L.SetField(mod, "host", lua.LString(host)) L.SetField(mod, "host", lua.LString(host))
L.SetField(mod, "home", lua.LString(homedir)) L.SetField(mod, "home", lua.LString(homedir))
L.SetField(mod, "dataDir", lua.LString(dataDir))
xdg := L.NewTable() xdg := L.NewTable()
L.SetField(xdg, "config", lua.LString(confDir)) L.SetField(xdg, "config", lua.LString(confDir))