diff options
Diffstat (limited to 'MCServer/Plugins/Core')
-rw-r--r-- | MCServer/Plugins/Core/web_manageserver.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MCServer/Plugins/Core/web_manageserver.lua b/MCServer/Plugins/Core/web_manageserver.lua index f617eb46a..222736d50 100644 --- a/MCServer/Plugins/Core/web_manageserver.lua +++ b/MCServer/Plugins/Core/web_manageserver.lua @@ -1,11 +1,11 @@ function HandleRequest_ManageServer( Request ) local Content = "" if( Request.PostParams["RestartServer"] ~= nil ) then - cRoot:Get():ServerCommand("restart") + cRoot:Get():ExecuteConsoleCommand("restart") elseif( Request.PostParams["ReloadServer"] ~= nil ) then cRoot:Get():GetPluginManager():ReloadPlugins() elseif( Request.PostParams["StopServer"] ~= nil ) then - cRoot:Get():ServerCommand("stop") + cRoot:Get():ExecuteConsoleCommand("stop") end Content = Content .. [[ <form method="POST">]] |