Added pragma checks

This commit is contained in:
Luca Deri 2024-02-19 11:37:27 +01:00
parent 9a7eb9aad2
commit fc79e6b02f
4 changed files with 26 additions and 1 deletions

View file

@ -2,6 +2,14 @@
-- (C) 2014-24 - ntop.org
--
if(pragma_once_lua_utils_generic == true) then
-- io.write(debug.traceback().."\n")
-- avoid multiple inclusions
return
end
pragma_once_lua_utils_generic = true
local clock_start = os.clock()
-- GENERIC UTILS