summaryrefslogtreecommitdiffstats
path: root/source/Plugin_NewLua.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-07-29 09:53:47 +0200
committermadmaxoft <github@xoft.cz>2013-07-29 09:53:47 +0200
commit752e57108d300a4e9c4f8dfd3ff9a6f117dd4235 (patch)
tree99b22a3b1d3a65cb2c4d765e58eaee5d83463646 /source/Plugin_NewLua.h
parentMerge remote-tracking branch 'origin/master' into hunger (diff)
parentMerge pull request #15 from mc-server/webadmin (diff)
downloadcuberite-752e57108d300a4e9c4f8dfd3ff9a6f117dd4235.tar
cuberite-752e57108d300a4e9c4f8dfd3ff9a6f117dd4235.tar.gz
cuberite-752e57108d300a4e9c4f8dfd3ff9a6f117dd4235.tar.bz2
cuberite-752e57108d300a4e9c4f8dfd3ff9a6f117dd4235.tar.lz
cuberite-752e57108d300a4e9c4f8dfd3ff9a6f117dd4235.tar.xz
cuberite-752e57108d300a4e9c4f8dfd3ff9a6f117dd4235.tar.zst
cuberite-752e57108d300a4e9c4f8dfd3ff9a6f117dd4235.zip
Diffstat (limited to '')
-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.