summaryrefslogtreecommitdiff
path: root/src/plugin-luagmp.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugin-luagmp.cc')
-rw-r--r--src/plugin-luagmp.cc1
1 files changed, 1 insertions, 0 deletions
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);