diff --git a/gql.go b/gql.go index 66847d5..460d6f0 100644 --- a/gql.go +++ b/gql.go @@ -418,7 +418,7 @@ var gql_actions ThreadActions = ThreadActions{ UpdateStates(ctx, []GraphNode{thread}, func(nodes NodeMap)(error) { server_state := thread.State().(*GQLThreadState) for _, child := range(server_state.Children()) { - should_run := server_state.child_info[child.ID()].(*GQLThreadInfo) + should_run := (server_state.child_info[child.ID()]).(*GQLThreadInfo) if should_run.Started == true { ChildGo(ctx, server_state, thread, child.ID(), should_run.RestoreAction) }