summaryrefslogtreecommitdiffstats
path: root/source/cWebPlugin_Lua.cpp
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-08-22 14:24:29 +0200
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-08-22 14:24:29 +0200
commit0da4f7eaa274e33065c5a9ec031af5d971112d66 (patch)
tree22321f1734ad8cc1d9a3a864e412f48a631d7184 /source/cWebPlugin_Lua.cpp
parentChat history limit on the WebAdmin chat (diff)
downloadcuberite-0da4f7eaa274e33065c5a9ec031af5d971112d66.tar
cuberite-0da4f7eaa274e33065c5a9ec031af5d971112d66.tar.gz
cuberite-0da4f7eaa274e33065c5a9ec031af5d971112d66.tar.bz2
cuberite-0da4f7eaa274e33065c5a9ec031af5d971112d66.tar.lz
cuberite-0da4f7eaa274e33065c5a9ec031af5d971112d66.tar.xz
cuberite-0da4f7eaa274e33065c5a9ec031af5d971112d66.tar.zst
cuberite-0da4f7eaa274e33065c5a9ec031af5d971112d66.zip
Diffstat (limited to 'source/cWebPlugin_Lua.cpp')
-rw-r--r--source/cWebPlugin_Lua.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/cWebPlugin_Lua.cpp b/source/cWebPlugin_Lua.cpp
index e22c59961..7d17378f9 100644
--- a/source/cWebPlugin_Lua.cpp
+++ b/source/cWebPlugin_Lua.cpp
@@ -79,6 +79,7 @@ bool cWebPlugin_Lua::AddTab( const char* a_Title, lua_State * a_LuaState, int a_
std::string cWebPlugin_Lua::HandleRequest( HTTPRequest* a_Request )
{
+ cCSLock( m_Plugin->GetCriticalSection() );
lua_State* LuaState = m_Plugin->GetLuaState();
std::string RetVal = "";