commit
1f301d7560
@ -493,9 +493,9 @@ void cServer::ExecuteConsoleCommand(const AString & a_Cmd, cCommandOutputCallbac
|
|||||||
{
|
{
|
||||||
cPluginManager::PluginMap map = cPluginManager::Get()->GetAllPlugins();
|
cPluginManager::PluginMap map = cPluginManager::Get()->GetAllPlugins();
|
||||||
|
|
||||||
for(auto plugin_entry : map)
|
for (auto plugin_entry : map)
|
||||||
{
|
{
|
||||||
if(plugin_entry.first == split[1])
|
if (plugin_entry.first == split[1])
|
||||||
{
|
{
|
||||||
a_Output.Out("Error! Plugin is already loaded!");
|
a_Output.Out("Error! Plugin is already loaded!");
|
||||||
a_Output.Finished();
|
a_Output.Finished();
|
||||||
|
Loading…
Reference in New Issue
Block a user