summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/Core/stop.lua
diff options
context:
space:
mode:
authornielsbreu@gmail.com <nielsbreu@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-03-24 19:41:19 +0100
committernielsbreu@gmail.com <nielsbreu@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-03-24 19:41:19 +0100
commitaae46468c77f47a88664172ceb2c3d8bc2aa08a4 (patch)
tree57583468521b3e8ac9f8d497ab5ee495e53e5949 /MCServer/Plugins/Core/stop.lua
parentLeakFinder: Fixed previous commit, housekeeping is now factored in properly in both "alloc" and "free". (diff)
downloadcuberite-aae46468c77f47a88664172ceb2c3d8bc2aa08a4.tar
cuberite-aae46468c77f47a88664172ceb2c3d8bc2aa08a4.tar.gz
cuberite-aae46468c77f47a88664172ceb2c3d8bc2aa08a4.tar.bz2
cuberite-aae46468c77f47a88664172ceb2c3d8bc2aa08a4.tar.lz
cuberite-aae46468c77f47a88664172ceb2c3d8bc2aa08a4.tar.xz
cuberite-aae46468c77f47a88664172ceb2c3d8bc2aa08a4.tar.zst
cuberite-aae46468c77f47a88664172ceb2c3d8bc2aa08a4.zip
Diffstat (limited to 'MCServer/Plugins/Core/stop.lua')
-rw-r--r--MCServer/Plugins/Core/stop.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/MCServer/Plugins/Core/stop.lua b/MCServer/Plugins/Core/stop.lua
index 4b4cca3b6..0a06fc7d3 100644
--- a/MCServer/Plugins/Core/stop.lua
+++ b/MCServer/Plugins/Core/stop.lua
@@ -1,8 +1,6 @@
function HandleStopCommand( Split, Player )
Server = cRoot:Get():GetServer()
- PluginManager = cRoot:Get():GetPluginManager()
Server:SendMessage( cChatColor.Green .. "Stopping the server..." )
- PluginManager:ExecuteConsoleCommand("stop")
- --cRoot:Get():ServerCommand("stop")
+ cRoot:Get():ServerCommand("stop")
return true
end \ No newline at end of file