diff options
Diffstat (limited to 'src/plugin-luaocci.cc')
-rw-r--r-- | src/plugin-luaocci.cc | 3 |
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); } |