diff options
author | madmaxoft <github@xoft.cz> | 2013-10-25 11:15:44 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-10-25 11:15:44 +0200 |
commit | 9e9198e0907d3d6fd353c683478007f418d86dd8 (patch) | |
tree | 9dd53b8f34532b135ae199e47a0e9e59d77a76f4 /source/Authenticator.cpp | |
parent | APIDump: Documented cMonster. (diff) | |
download | cuberite-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 'source/Authenticator.cpp')
-rw-r--r-- | source/Authenticator.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/Authenticator.cpp b/source/Authenticator.cpp index a45617f93..d7e05b4c2 100644 --- a/source/Authenticator.cpp +++ b/source/Authenticator.cpp @@ -47,8 +47,8 @@ cAuthenticator::~cAuthenticator() /// Read custom values from INI void cAuthenticator::ReadINI(void) { - cIniFile IniFile("settings.ini"); - if (!IniFile.ReadFile()) + cIniFile IniFile; + if (!IniFile.ReadFile("settings.ini")) { return; } @@ -74,7 +74,7 @@ void cAuthenticator::ReadINI(void) if (bSave) { IniFile.SetValueB("Authentication", "Authenticate", m_ShouldAuthenticate); - IniFile.WriteFile(); + IniFile.WriteFile("settings.ini"); } } |