diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-02-21 14:53:46 +0100 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-02-21 14:53:46 +0100 |
commit | 21febaf4b342aecd5d797b1e2017591fde208388 (patch) | |
tree | beaf6b0b623a08052932351f64fb9d0924dd6d4d /src/Server.cpp | |
parent | Bad UTF-8 o.O (diff) | |
download | cuberite-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.cpp | 4 |
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; } |