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