diff options
author | Luis Ontanon <luis.ontanon@gmail.com> | 2006-02-19 21:51:34 +0000 |
---|---|---|
committer | Luis Ontanon <luis.ontanon@gmail.com> | 2006-02-19 21:51:34 +0000 |
commit | c3c7f8a0c3a9fdc2ffb7cc5d84b5c15a593c942d (patch) | |
tree | e3ca4a9a931f7b85df42b57da85befd12827facb /plugins/lua/packet-lua.c | |
parent | 97d857e20bd5365f244e3bbe7e2fb64110b4349d (diff) |
- Use lua 5.1
- Compress *_register() functions
svn path=/trunk/; revision=17354
Diffstat (limited to 'plugins/lua/packet-lua.c')
-rw-r--r-- | plugins/lua/packet-lua.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/plugins/lua/packet-lua.c b/plugins/lua/packet-lua.c index 2839a55832..051182d999 100644 --- a/plugins/lua/packet-lua.c +++ b/plugins/lua/packet-lua.c @@ -307,15 +307,7 @@ void register_lua(void) { G_LOG_LEVEL_DEBUG, ops ? ops->logger : basic_logger, NULL); - /* initialize the lua machine */ - - L = lua_open(); - - /* load lua's standard library */ - luaopen_base(L); - luaopen_table(L); - luaopen_io(L); - luaopen_string(L); + INIT_LUA(L); /* load ethereal's API */ ProtoField_register(L); |