summaryrefslogtreecommitdiffstats
path: root/source/GroupManager.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-08-05 15:24:23 +0200
committermadmaxoft <github@xoft.cz>2013-08-05 15:24:23 +0200
commitca5561c395332b266b73b9cb56c50d1cc3c275c5 (patch)
tree5a6310e063575afa144f158069d39a0e5c7617a1 /source/GroupManager.cpp
parentAdded the Carpet block. (diff)
downloadcuberite-ca5561c395332b266b73b9cb56c50d1cc3c275c5.tar
cuberite-ca5561c395332b266b73b9cb56c50d1cc3c275c5.tar.gz
cuberite-ca5561c395332b266b73b9cb56c50d1cc3c275c5.tar.bz2
cuberite-ca5561c395332b266b73b9cb56c50d1cc3c275c5.tar.lz
cuberite-ca5561c395332b266b73b9cb56c50d1cc3c275c5.tar.xz
cuberite-ca5561c395332b266b73b9cb56c50d1cc3c275c5.tar.zst
cuberite-ca5561c395332b266b73b9cb56c50d1cc3c275c5.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();