summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulian Laubstein <julianlaubstein@yahoo.de>2014-10-20 15:58:08 +0200
committerJulian Laubstein <julianlaubstein@yahoo.de>2014-10-20 15:58:08 +0200
commitd2cc1e0cd3dde8c748de8436be4f4ad8c92abb89 (patch)
tree2e99eecb117b3b7f318aaaf27e05a07391fbbcad
parentMerge pull request #1552 from SphinxC0re/master (diff)
downloadcuberite-d2cc1e0cd3dde8c748de8436be4f4ad8c92abb89.tar
cuberite-d2cc1e0cd3dde8c748de8436be4f4ad8c92abb89.tar.gz
cuberite-d2cc1e0cd3dde8c748de8436be4f4ad8c92abb89.tar.bz2
cuberite-d2cc1e0cd3dde8c748de8436be4f4ad8c92abb89.tar.lz
cuberite-d2cc1e0cd3dde8c748de8436be4f4ad8c92abb89.tar.xz
cuberite-d2cc1e0cd3dde8c748de8436be4f4ad8c92abb89.tar.zst
cuberite-d2cc1e0cd3dde8c748de8436be4f4ad8c92abb89.zip
Diffstat (limited to '')
-rw-r--r--src/Server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Server.cpp b/src/Server.cpp
index 67315c8cf..db3ab2ed4 100644
--- a/src/Server.cpp
+++ b/src/Server.cpp
@@ -493,9 +493,9 @@ void cServer::ExecuteConsoleCommand(const AString & a_Cmd, cCommandOutputCallbac
{
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.Finished();