1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-02 19:49:11 +00:00

Removed some unnecessary returns.

This commit is contained in:
batrick
2010-11-17 21:02:52 +00:00
parent f4769f75e9
commit 856c6fc3c6

View File

@@ -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.