Merge pull request #656 from mc-server/ReloadGroups
The console reload command also reloads the groups.
This commit is contained in:
commit
d2bc39ba84
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user