aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wslua/template-init.lua
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2010-06-17 16:38:05 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2010-06-17 16:38:05 +0000
commitba69712a634544703e301be46b40c7b0611469bc (patch)
tree98ae83ddf636279544448ae821d5c96511031726 /epan/wslua/template-init.lua
parentbc020a6d6316c638c447d92f3622ea36ffa2492e (diff)
Enable Lua by default.
svn path=/trunk/; revision=33243
Diffstat (limited to 'epan/wslua/template-init.lua')
-rw-r--r--epan/wslua/template-init.lua7
1 files changed, 5 insertions, 2 deletions
diff --git a/epan/wslua/template-init.lua b/epan/wslua/template-init.lua
index 2c66cb60d4..8feda0a717 100644
--- a/epan/wslua/template-init.lua
+++ b/epan/wslua/template-init.lua
@@ -25,9 +25,12 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
--- Lua is disabled by default, comment out the following line to enable Lua support.
-disable_lua = true; do return end;
+-- Set disable_lua to true to disable Lua support.
+disable_lua = false
+if disable_lua then
+ do return
+end
-- If set and we are running with special privileges this setting
-- tells whether scripts other than this one are to be run.