This commit is contained in:
Julian Laubstein 2014-10-20 15:58:08 +02:00
parent bf8de85fd6
commit d2cc1e0cd3

View File

@ -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();