mirror of
https://github.com/Hilbis/Hilbish
synced 2025-04-07 22:23:24 +00:00
fix: dont export lua init
This commit is contained in:
parent
4dadfb0874
commit
bcfbb20685
2
lua.go
2
lua.go
@ -19,7 +19,7 @@ import (
|
|||||||
|
|
||||||
var minimalconf = `prompt '& '`
|
var minimalconf = `prompt '& '`
|
||||||
|
|
||||||
func LuaInit() {
|
func luaInit() {
|
||||||
l = lua.NewState()
|
l = lua.NewState()
|
||||||
l.OpenLibs()
|
l.OpenLibs()
|
||||||
|
|
||||||
|
2
main.go
2
main.go
@ -139,7 +139,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
go handleSignals()
|
go handleSignals()
|
||||||
LuaInit()
|
luaInit()
|
||||||
runLogin()
|
runLogin()
|
||||||
runConfig(*configflag)
|
runConfig(*configflag)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user