Blame wireshark-1.2.4-enable_lua.patch
|
Peter Hatina |
f670be |
diff --git a/epan/wslua/template-init.lua b/epan/wslua/template-init.lua
|
|
Peter Hatina |
f670be |
index eda33ca..008e875 100644
|
|
Peter Hatina |
f670be |
--- a/epan/wslua/template-init.lua
|
|
Peter Hatina |
f670be |
+++ b/epan/wslua/template-init.lua
|
|
Peter Hatina |
f670be |
@@ -43,7 +43,7 @@ if running_superuser then
|
|
Radek Vokál |
68e7ca |
local disabled_lib = {}
|
|
Peter Hatina |
f670be |
setmetatable(disabled_lib,{ __index = function() error("this package ".. hint) end } );
|
|
Radek Vokál |
68e7ca |
|
|
Peter Hatina |
f670be |
- dofile = function() error("dofile " .. hint) end
|
|
Peter Hatina |
f670be |
+-- dofile = function() error("dofile " .. hint) end
|
|
Peter Hatina |
f670be |
loadfile = function() error("loadfile " .. hint) end
|
|
Peter Hatina |
f670be |
loadlib = function() error("loadlib " .. hint) end
|
|
Peter Hatina |
f670be |
require = function() error("require " .. hint) end
|