summaryrefslogtreecommitdiff
path: root/src/plugin-luahandle.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugin-luahandle.cc')
-rw-r--r--src/plugin-luahandle.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugin-luahandle.cc b/src/plugin-luahandle.cc
index 7e6b675..05d9fa9 100644
--- a/src/plugin-luahandle.cc
+++ b/src/plugin-luahandle.cc
@@ -7,6 +7,9 @@
#endif
static void _init_plugin(Lua * L) {
+ static bool done = false;
+ if (done) return;
+ done = true;
LuaInput::pushconstruct(L);
LuaOutput::pushconstruct(L);
LuaBuffer::pushconstruct(L);