Split "reload" in "reloadplugins" and "reloadgroups".
This commit is contained in:
parent
645c096e2b
commit
011a334a8a
@ -456,12 +456,15 @@ void cServer::ExecuteConsoleCommand(const AString & a_Cmd, cCommandOutputCallbac
|
|||||||
PrintHelp(split, a_Output);
|
PrintHelp(split, a_Output);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (split[0] == "reload")
|
if (split[0] == "reloadplugins")
|
||||||
{
|
{
|
||||||
cPluginManager::Get()->ReloadPlugins();
|
cPluginManager::Get()->ReloadPlugins();
|
||||||
cRoot::Get()->ReloadGroups();
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (split[0] == "reloadgroups")
|
||||||
|
{
|
||||||
|
cRoot::Get()->ReloadGroups();
|
||||||
|
}
|
||||||
|
|
||||||
// There is currently no way a plugin can do these (and probably won't ever be):
|
// There is currently no way a plugin can do these (and probably won't ever be):
|
||||||
if (split[0].compare("chunkstats") == 0)
|
if (split[0].compare("chunkstats") == 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user