aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorLuis Ontanon <luis.ontanon@gmail.com>2006-02-07 03:47:13 +0000
committerLuis Ontanon <luis.ontanon@gmail.com>2006-02-07 03:47:13 +0000
commit5bf6a2939f9eed093ea4911a3b18bf5c3c86a72a (patch)
treed402a5ea86563754893b84cdadc43850aa5cacfd /plugins
parent5a2013cdfccccd6c613008ac679fbe0ffacf4a5a (diff)
init_routines was moved back to globals.
svn path=/trunk/; revision=17192
Diffstat (limited to 'plugins')
-rw-r--r--plugins/lua/lua_proto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/lua/lua_proto.c b/plugins/lua/lua_proto.c
index b7f1165c3c..dd288cb192 100644
--- a/plugins/lua/lua_proto.c
+++ b/plugins/lua/lua_proto.c
@@ -874,7 +874,7 @@ static int Proto_set_init(lua_State* L) {
if (lua_isfunction(L,3)) {
/* insert the dissector into the dissectors table */
lua_pushstring(L, LUA_INIT_ROUTINES);
- lua_gettable(L, LUA_REGISTRYINDEX);
+ lua_gettable(L, LUA_GLOBALSINDEX);
lua_replace(L, 1);
lua_pushstring(L,proto->name);
lua_replace(L, 2);