refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-08-23 08:14:22 +02:00
parent c2f7311349
commit 99ba3e7fdc
15 changed files with 51 additions and 41 deletions
+1
View File
@@ -38,6 +38,7 @@ do
end
function accessor.state()
log (thread_id)
local _, state = next(filter(scan_states, function(state) return state.id == thread_id end))
return state
end