1
0

Add 'Group not found', when the Server load the users.ini and add auto generate from users.ini

This commit is contained in:
Howaner
2014-02-21 14:53:46 +01:00
parent 337c4e5cd4
commit 21febaf4b3
5 changed files with 61 additions and 2 deletions

View File

@@ -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;
}