From 69f364d7fe93e317cf7e315ef0eea400a3452c0b Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Tue, 8 Jun 2010 01:06:24 +0200 Subject: Fixing various loading issues with luagmp. --- src/plugin-luagmp.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugin-luagmp.cc') diff --git a/src/plugin-luagmp.cc b/src/plugin-luagmp.cc index 82c917f..354c48c 100644 --- a/src/plugin-luagmp.cc +++ b/src/plugin-luagmp.cc @@ -2503,6 +2503,7 @@ extern unsigned char lgmp[]; static int _init_plugin(Lua *L) { + while (L->gettop()) L->remove(1); L->newtable(); // [1] = prv L->newtable(); // [2] = aux L->wrap_open(lgmp_initialize); -- cgit v1.2.3