summaryrefslogtreecommitdiffstats
path: root/src/Server.cpp
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-02-21 14:53:46 +0100
committerHowaner <franzi.moos@googlemail.com>2014-02-21 14:53:46 +0100
commit21febaf4b342aecd5d797b1e2017591fde208388 (patch)
treebeaf6b0b623a08052932351f64fb9d0924dd6d4d /src/Server.cpp
parentBad UTF-8 o.O (diff)
downloadcuberite-21febaf4b342aecd5d797b1e2017591fde208388.tar
cuberite-21febaf4b342aecd5d797b1e2017591fde208388.tar.gz
cuberite-21febaf4b342aecd5d797b1e2017591fde208388.tar.bz2
cuberite-21febaf4b342aecd5d797b1e2017591fde208388.tar.lz
cuberite-21febaf4b342aecd5d797b1e2017591fde208388.tar.xz
cuberite-21febaf4b342aecd5d797b1e2017591fde208388.tar.zst
cuberite-21febaf4b342aecd5d797b1e2017591fde208388.zip
Diffstat (limited to '')
-rw-r--r--src/Server.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Server.cpp b/src/Server.cpp
index ab1458da4..4842c1782 100644
--- a/src/Server.cpp
+++ b/src/Server.cpp
@@ -460,16 +460,20 @@ void cServer::ExecuteConsoleCommand(const AString & a_Cmd, cCommandOutputCallbac
{
cPluginManager::Get()->ReloadPlugins();
cRoot::Get()->ReloadGroups();
+ a_Output.Finished();
return;
}
if (split[0] == "reloadplugins")
{
cPluginManager::Get()->ReloadPlugins();
+ a_Output.Finished();
return;
}
if (split[0] == "reloadgroups")
{
cRoot::Get()->ReloadGroups();
+ a_Output.Out("Groups reloaded!");
+ a_Output.Finished();
return;
}