diff options
author | madmaxoft <github@xoft.cz> | 2013-08-05 16:02:41 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-08-05 16:02:41 +0200 |
commit | c0066e7260a5145334de3d5724dcc3e65f1d3f71 (patch) | |
tree | 06739e204d802673b5b208cb427ccffb9eede55a /source/GroupManager.cpp | |
parent | LuaState refactoring: initial part. (diff) | |
parent | Exported the cWorld:TryGetHeight() function (diff) | |
download | cuberite-c0066e7260a5145334de3d5724dcc3e65f1d3f71.tar cuberite-c0066e7260a5145334de3d5724dcc3e65f1d3f71.tar.gz cuberite-c0066e7260a5145334de3d5724dcc3e65f1d3f71.tar.bz2 cuberite-c0066e7260a5145334de3d5724dcc3e65f1d3f71.tar.lz cuberite-c0066e7260a5145334de3d5724dcc3e65f1d3f71.tar.xz cuberite-c0066e7260a5145334de3d5724dcc3e65f1d3f71.tar.zst cuberite-c0066e7260a5145334de3d5724dcc3e65f1d3f71.zip |
Diffstat (limited to 'source/GroupManager.cpp')
-rw-r--r-- | source/GroupManager.cpp | 7 |
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(); |