diff options
author | Mattes D <github@xoft.cz> | 2017-05-09 13:21:03 +0200 |
---|---|---|
committer | Lukas Pioch <lukas@zgow.de> | 2017-05-09 14:10:53 +0200 |
commit | 3d5ee3e5c7d29fc2a4f8e0c49d53c9d488a76e5c (patch) | |
tree | 78f4f70ccad9c0534119651db7af7e7ec478485f /src/Bindings/ManualBindings.cpp | |
parent | Updated Core and ProtectionAreas to latest. (diff) | |
download | cuberite-3d5ee3e5c7d29fc2a4f8e0c49d53c9d488a76e5c.tar cuberite-3d5ee3e5c7d29fc2a4f8e0c49d53c9d488a76e5c.tar.gz cuberite-3d5ee3e5c7d29fc2a4f8e0c49d53c9d488a76e5c.tar.bz2 cuberite-3d5ee3e5c7d29fc2a4f8e0c49d53c9d488a76e5c.tar.lz cuberite-3d5ee3e5c7d29fc2a4f8e0c49d53c9d488a76e5c.tar.xz cuberite-3d5ee3e5c7d29fc2a4f8e0c49d53c9d488a76e5c.tar.zst cuberite-3d5ee3e5c7d29fc2a4f8e0c49d53c9d488a76e5c.zip |
Diffstat (limited to 'src/Bindings/ManualBindings.cpp')
-rw-r--r-- | src/Bindings/ManualBindings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/ManualBindings.cpp b/src/Bindings/ManualBindings.cpp index ac349689a..c2392063a 100644 --- a/src/Bindings/ManualBindings.cpp +++ b/src/Bindings/ManualBindings.cpp @@ -1710,7 +1710,7 @@ public: ) override { AString content, contentType; - return m_Callback.Call(&a_Request, a_UrlPath, cLuaState::Return, a_Content, a_ContentType); + return m_Callback.Call(const_cast<HTTPRequest *>(&a_Request), a_UrlPath, cLuaState::Return, a_Content, a_ContentType); } }; |