webmcp

view framework/env/trace/is_disabled.lua @ 70:593413f317f4

Bugfix in Lua5.1 compatibility code: Wrong use of logic-or
author jbe
date Sat Apr 21 20:21:16 2012 +0200 (2012-04-21)
parents 0bbfee4d4aed
children
line source
1 --[[--
2 disabled = -- boolean indicating if trace system is disabled
3 trace.is_disabled()
5 This function returns true, if the trace system has been disabled. Otherwise false is returned.
7 --]]--
9 function trace.is_disabled()
10 return trace._disabled
11 end

Impressum / About Us