diff options
author | Julian Laubstein <contact@julianlaubstein.de> | 2017-01-19 00:40:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-19 00:40:18 +0100 |
commit | b356a035d15b35052d3a5eb2088382fedf3f3398 (patch) | |
tree | 4a17be45c378b6d627b174b8915209fef9563ff4 | |
parent | Merge pull request #3548 from cuberite/FixAssertInWebadmin (diff) | |
parent | WebAdmin: Renamed two neighboring locks for better clarity / style. (diff) | |
download | cuberite-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.cpp | 4 |
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; |