summaryrefslogtreecommitdiffstats
path: root/source/GroupManager.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-10-25 11:15:44 +0200
committermadmaxoft <github@xoft.cz>2013-10-25 11:15:44 +0200
commit9e9198e0907d3d6fd353c683478007f418d86dd8 (patch)
tree9dd53b8f34532b135ae199e47a0e9e59d77a76f4 /source/GroupManager.cpp
parentAPIDump: Documented cMonster. (diff)
downloadcuberite-9e9198e0907d3d6fd353c683478007f418d86dd8.tar
cuberite-9e9198e0907d3d6fd353c683478007f418d86dd8.tar.gz
cuberite-9e9198e0907d3d6fd353c683478007f418d86dd8.tar.bz2
cuberite-9e9198e0907d3d6fd353c683478007f418d86dd8.tar.lz
cuberite-9e9198e0907d3d6fd353c683478007f418d86dd8.tar.xz
cuberite-9e9198e0907d3d6fd353c683478007f418d86dd8.tar.zst
cuberite-9e9198e0907d3d6fd353c683478007f418d86dd8.zip
Diffstat (limited to '')
-rw-r--r--source/GroupManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/GroupManager.cpp b/source/GroupManager.cpp
index b79fde9dc..d7332fd0a 100644
--- a/source/GroupManager.cpp
+++ b/source/GroupManager.cpp
@@ -44,8 +44,8 @@ cGroupManager::cGroupManager()
: m_pState( new sGroupManagerState )
{
LOGD("-- Loading Groups --");
- cIniFile IniFile("groups.ini");
- if (!IniFile.ReadFile())
+ cIniFile IniFile;
+ if (!IniFile.ReadFile("groups.ini"))
{
LOGWARNING("groups.ini inaccessible, no groups are defined");
return;