From 856c6fc3c6737207c16b7415db9a050f1ce91b39 Mon Sep 17 00:00:00 2001 From: batrick Date: Wed, 17 Nov 2010 21:02:52 +0000 Subject: [PATCH] Removed some unnecessary returns. --- nse_main.lua | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/nse_main.lua b/nse_main.lua index dd308fac0..9cf63a9c8 100644 --- a/nse_main.lua +++ b/nse_main.lua @@ -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.