summaryrefslogtreecommitdiff
path: root/src/plugin-luagmp.cc
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2010-06-08 01:06:24 +0200
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2010-06-08 01:06:24 +0200
commit69f364d7fe93e317cf7e315ef0eea400a3452c0b (patch)
treea7d2407e437c321e89d6a583c29ac0357ba49db3 /src/plugin-luagmp.cc
parentaa2afeb2f2e0b3cfd1eabcb53b3b4b2cddc09e63 (diff)
Fixing various loading issues with luagmp.
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);