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