summaryrefslogtreecommitdiffstats
path: root/source/Plugin_NewLua.h
diff options
context:
space:
mode:
authorbearbin <bearbin@gmail.com>2013-07-29 08:32:59 +0200
committerbearbin <bearbin@gmail.com>2013-07-29 08:32:59 +0200
commit798f887b65d1068ddaf072f3a3e62aef5513021a (patch)
tree750de34f6a2aa7c2dd3cb834d9596284f8726b6b /source/Plugin_NewLua.h
parentFixed multiple issues with the COMPILING file, including a missing endline terminator, windows line endings and also the exclusion of the addm32 thing. (diff)
parentMerge pull request #16 from mc-server/master (diff)
downloadcuberite-798f887b65d1068ddaf072f3a3e62aef5513021a.tar
cuberite-798f887b65d1068ddaf072f3a3e62aef5513021a.tar.gz
cuberite-798f887b65d1068ddaf072f3a3e62aef5513021a.tar.bz2
cuberite-798f887b65d1068ddaf072f3a3e62aef5513021a.tar.lz
cuberite-798f887b65d1068ddaf072f3a3e62aef5513021a.tar.xz
cuberite-798f887b65d1068ddaf072f3a3e62aef5513021a.tar.zst
cuberite-798f887b65d1068ddaf072f3a3e62aef5513021a.zip
Diffstat (limited to 'source/Plugin_NewLua.h')
-rw-r--r--source/Plugin_NewLua.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/Plugin_NewLua.h b/source/Plugin_NewLua.h
index 8d51c86f6..1ca208e9d 100644
--- a/source/Plugin_NewLua.h
+++ b/source/Plugin_NewLua.h
@@ -86,10 +86,10 @@ public:
virtual bool CanAddHook(cPluginManager::PluginHook a_Hook) override;
// cWebPlugin override
- virtual const AString & GetWebTitle(void) const {return GetName(); }
+ virtual const AString GetWebTitle(void) const {return GetName(); }
// cWebPlugin and WebAdmin stuff
- virtual AString HandleWebRequest( HTTPRequest * a_Request ) override;
+ virtual AString HandleWebRequest(const HTTPRequest * a_Request ) override;
bool AddWebTab(const AString & a_Title, lua_State * a_LuaState, int a_FunctionReference); // >> EXPORTED IN MANUALBINDINGS <<
/// Binds the command to call the function specified by a Lua function reference. Simply adds to CommandMap.