"reload" is back.
This commit is contained in:
parent
011a334a8a
commit
2a741e719c
@ -456,6 +456,12 @@ void cServer::ExecuteConsoleCommand(const AString & a_Cmd, cCommandOutputCallbac
|
|||||||
PrintHelp(split, a_Output);
|
PrintHelp(split, a_Output);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (split[0] == "reload")
|
||||||
|
{
|
||||||
|
cPluginManager::Get()->ReloadPlugins();
|
||||||
|
cRoot::Get()->ReloadGroups();
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (split[0] == "reloadplugins")
|
if (split[0] == "reloadplugins")
|
||||||
{
|
{
|
||||||
cPluginManager::Get()->ReloadPlugins();
|
cPluginManager::Get()->ReloadPlugins();
|
||||||
@ -464,6 +470,7 @@ void cServer::ExecuteConsoleCommand(const AString & a_Cmd, cCommandOutputCallbac
|
|||||||
if (split[0] == "reloadgroups")
|
if (split[0] == "reloadgroups")
|
||||||
{
|
{
|
||||||
cRoot::Get()->ReloadGroups();
|
cRoot::Get()->ReloadGroups();
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 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):
|
||||||
|
Loading…
Reference in New Issue
Block a user