fix sqlite import message

This commit is contained in:
2025-08-04 16:49:33 +03:00
parent 396352ba15
commit 0ed734b2b1

View File

@@ -45,8 +45,8 @@ func getDBMutex(dbPath string) *sync.RWMutex {
}
func loadDBMod(llog *slog.Logger) func(*lua.LState) int {
llog.Debug("import module db-sqlite")
return func(L *lua.LState) int {
llog.Debug("import module db-sqlite")
dbMod := L.NewTable()
L.SetField(dbMod, "connect", L.NewFunction(func(L *lua.LState) int {