mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
Removed some unnecessary returns.
This commit is contained in:
parent
f4769f75e9
commit
856c6fc3c6
1 changed files with 2 additions and 4 deletions
|
|
@ -252,16 +252,14 @@ do
|
|||
|
||||
function Thread:start_time_out_clock ()
|
||||
if self.type == "hostrule" or self.type == "portrule" then
|
||||
return cnse.startTimeOutClock(self.host);
|
||||
cnse.startTimeOutClock(self.host);
|
||||
end
|
||||
return nil;
|
||||
end
|
||||
|
||||
function Thread:stop_time_out_clock ()
|
||||
if self.type == "hostrule" or self.type == "portrule" then
|
||||
return cnse.stopTimeOutClock(self.host);
|
||||
cnse.stopTimeOutClock(self.host);
|
||||
end
|
||||
return nil;
|
||||
end
|
||||
|
||||
-- Register scripts in the timeouts list to track their timeouts.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue