refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-08-28 21:39:53 +02:00
parent cf79cfd8cd
commit 4b8b0cd9d0
7 changed files with 26 additions and 28 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ do
end
function private.state.get()
local _, state = next(filter(scan_states, function(state) return state.id == thread_id end))
local _, state = next(filter(copy(scan_states), function(state) return state.id == thread_id end))
return state
end
end