summaryrefslogtreecommitdiffstats
path: root/source/Plugin_NewLua.h
diff options
context:
space:
mode:
authorFakeTruth <faketruth@gmail.com>2013-07-29 02:37:59 +0200
committerFakeTruth <faketruth@gmail.com>2013-07-29 02:37:59 +0200
commit5a9d4f89c2212c83f05f910b6f2a176f21048ba6 (patch)
tree63414b5adfde3ff229612628a05ac1fbecb11a7b /source/Plugin_NewLua.h
parentMerge branch 'master' of github.com:mc-server/MCServer (diff)
downloadcuberite-5a9d4f89c2212c83f05f910b6f2a176f21048ba6.tar
cuberite-5a9d4f89c2212c83f05f910b6f2a176f21048ba6.tar.gz
cuberite-5a9d4f89c2212c83f05f910b6f2a176f21048ba6.tar.bz2
cuberite-5a9d4f89c2212c83f05f910b6f2a176f21048ba6.tar.lz
cuberite-5a9d4f89c2212c83f05f910b6f2a176f21048ba6.tar.xz
cuberite-5a9d4f89c2212c83f05f910b6f2a176f21048ba6.tar.zst
cuberite-5a9d4f89c2212c83f05f910b6f2a176f21048ba6.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.