1
0

Merge pull request #656 from mc-server/ReloadGroups

The console reload command also reloads the groups.
This commit is contained in:
Mattes D 2014-02-09 00:14:44 +01:00
commit d2bc39ba84

View File

@ -459,6 +459,17 @@ void cServer::ExecuteConsoleCommand(const AString & a_Cmd, cCommandOutputCallbac
if (split[0] == "reload")
{
cPluginManager::Get()->ReloadPlugins();
cRoot::Get()->ReloadGroups();
return;
}
if (split[0] == "reloadplugins")
{
cPluginManager::Get()->ReloadPlugins();
return;
}
if (split[0] == "reloadgroups")
{
cRoot::Get()->ReloadGroups();
return;
}