summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulian Laubstein <contact@julianlaubstein.de>2017-01-19 00:40:18 +0100
committerGitHub <noreply@github.com>2017-01-19 00:40:18 +0100
commitb356a035d15b35052d3a5eb2088382fedf3f3398 (patch)
tree4a17be45c378b6d627b174b8915209fef9563ff4
parentMerge pull request #3548 from cuberite/FixAssertInWebadmin (diff)
parentWebAdmin: Renamed two neighboring locks for better clarity / style. (diff)
downloadcuberite-b356a035d15b35052d3a5eb2088382fedf3f3398.tar
cuberite-b356a035d15b35052d3a5eb2088382fedf3f3398.tar.gz
cuberite-b356a035d15b35052d3a5eb2088382fedf3f3398.tar.bz2
cuberite-b356a035d15b35052d3a5eb2088382fedf3f3398.tar.lz
cuberite-b356a035d15b35052d3a5eb2088382fedf3f3398.tar.xz
cuberite-b356a035d15b35052d3a5eb2088382fedf3f3398.tar.zst
cuberite-b356a035d15b35052d3a5eb2088382fedf3f3398.zip
Diffstat (limited to '')
-rw-r--r--src/WebAdmin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WebAdmin.cpp b/src/WebAdmin.cpp
index 6906c540f..ee5d536f9 100644
--- a/src/WebAdmin.cpp
+++ b/src/WebAdmin.cpp
@@ -340,8 +340,8 @@ void cWebAdmin::HandleWebadminRequest(cHTTPServerConnection & a_Connection, cHTT
// Try to get the template from the Lua template script
if (ShouldWrapInTemplate)
{
- cCSLock Lock(m_CS);
- cLuaState::cLock lock(m_TemplateScript);
+ cCSLock LockSelf(m_CS);
+ cLuaState::cLock LockTemplate(m_TemplateScript);
if (m_TemplateScript.Call("ShowPage", this, &TemplateRequest, cLuaState::Return, Template))
{
cHTTPOutgoingResponse Resp;