summaryrefslogtreecommitdiffstats
path: root/source/GroupManager.cpp
diff options
context:
space:
mode:
authorAlexander Harkness <bearbin@gmail.com>2013-08-07 19:37:03 +0200
committerAlexander Harkness <bearbin@gmail.com>2013-08-07 19:37:03 +0200
commitbe7a6d7a6679fd17e88e9f5131036d69978e4151 (patch)
tree8e1b46a9b8ac8d3d47a65f903a63e063e5550e94 /source/GroupManager.cpp
parentDrag in the latest core changes. (diff)
parentMerge pull request #48 from mc-server/BlockTracing (diff)
downloadcuberite-be7a6d7a6679fd17e88e9f5131036d69978e4151.tar
cuberite-be7a6d7a6679fd17e88e9f5131036d69978e4151.tar.gz
cuberite-be7a6d7a6679fd17e88e9f5131036d69978e4151.tar.bz2
cuberite-be7a6d7a6679fd17e88e9f5131036d69978e4151.tar.lz
cuberite-be7a6d7a6679fd17e88e9f5131036d69978e4151.tar.xz
cuberite-be7a6d7a6679fd17e88e9f5131036d69978e4151.tar.zst
cuberite-be7a6d7a6679fd17e88e9f5131036d69978e4151.zip
Diffstat (limited to 'source/GroupManager.cpp')
-rw-r--r--source/GroupManager.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/source/GroupManager.cpp b/source/GroupManager.cpp
index 396ad2e2f..cef32dd58 100644
--- a/source/GroupManager.cpp
+++ b/source/GroupManager.cpp
@@ -47,11 +47,8 @@ cGroupManager::cGroupManager()
cIniFile IniFile("groups.ini");
if (!IniFile.ReadFile())
{
- LOGINFO("groups.ini inaccessible, using groups.example.ini for defaults!");
- IniFile.Path("groups.example.ini");
- IniFile.ReadFile();
- IniFile.Path("groups.ini");
- IniFile.WriteFile();
+ LOGWARNING("groups.ini inaccessible, no groups are defined");
+ return;
}
unsigned int NumKeys = IniFile.GetNumKeys();