diff options
Diffstat (limited to 'src/plugin-luahttp.cc')
-rw-r--r-- | src/plugin-luahttp.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugin-luahttp.cc b/src/plugin-luahttp.cc index ef3a5f4..dd780ea 100644 --- a/src/plugin-luahttp.cc +++ b/src/plugin-luahttp.cc @@ -7,6 +7,9 @@ #endif static void _init_plugin(Lua * L) { + static bool done = false; + if (done) return; + done = true; LuaHttpResponse::pushstatics(L); } |