module refactoring
This commit is contained in:
committed by
Simon Hirsig
parent
5e093306e6
commit
62ef2683f5
+2
-2
@@ -49,7 +49,7 @@ do
|
||||
do (on_complete or nop)() end
|
||||
end
|
||||
|
||||
function get_state()
|
||||
function get.state()
|
||||
for _, state in pairs(scan_states) do
|
||||
if state.id == thread_id then
|
||||
return state
|
||||
@@ -58,7 +58,7 @@ do
|
||||
end
|
||||
end
|
||||
|
||||
function get_query()
|
||||
function get.query()
|
||||
return state.params.queries[state.query_index]
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user