summaryrefslogtreecommitdiffstats
path: root/source/GroupManager.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-10-26 19:43:34 +0200
committermadmaxoft <github@xoft.cz>2013-10-26 19:43:34 +0200
commit52f88b9595f28c3c14ab1868dbed1eba1093c078 (patch)
treec8e9a5174269258e5a5caa9a1a8d22fe7475a3f7 /source/GroupManager.cpp
parentcMonster: Improved doxycomments. (diff)
parentAPIDump: Documented cIniFile. (diff)
downloadcuberite-52f88b9595f28c3c14ab1868dbed1eba1093c078.tar
cuberite-52f88b9595f28c3c14ab1868dbed1eba1093c078.tar.gz
cuberite-52f88b9595f28c3c14ab1868dbed1eba1093c078.tar.bz2
cuberite-52f88b9595f28c3c14ab1868dbed1eba1093c078.tar.lz
cuberite-52f88b9595f28c3c14ab1868dbed1eba1093c078.tar.xz
cuberite-52f88b9595f28c3c14ab1868dbed1eba1093c078.tar.zst
cuberite-52f88b9595f28c3c14ab1868dbed1eba1093c078.zip
Diffstat (limited to 'source/GroupManager.cpp')
-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;