summaryrefslogtreecommitdiffstats
path: root/source/Authenticator.cpp
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2013-10-26 19:47:12 +0200
committerSTRWarrior <niels.breuker@hotmail.nl>2013-10-26 19:47:12 +0200
commitcb06f35cb80c2162c3b1e9e329fc81b5d8b417da (patch)
treec0722d1541aa82e59f59d5c4f74ba9f5d2584b95 /source/Authenticator.cpp
parentBoth the LoadWorlds() function and cAuthenticator now use the cIniFile object from the Root::Start() function. (diff)
downloadcuberite-cb06f35cb80c2162c3b1e9e329fc81b5d8b417da.tar
cuberite-cb06f35cb80c2162c3b1e9e329fc81b5d8b417da.tar.gz
cuberite-cb06f35cb80c2162c3b1e9e329fc81b5d8b417da.tar.bz2
cuberite-cb06f35cb80c2162c3b1e9e329fc81b5d8b417da.tar.lz
cuberite-cb06f35cb80c2162c3b1e9e329fc81b5d8b417da.tar.xz
cuberite-cb06f35cb80c2162c3b1e9e329fc81b5d8b417da.tar.zst
cuberite-cb06f35cb80c2162c3b1e9e329fc81b5d8b417da.zip
Diffstat (limited to '')
-rw-r--r--source/Authenticator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/Authenticator.cpp b/source/Authenticator.cpp
index a8aad524f..368431010 100644
--- a/source/Authenticator.cpp
+++ b/source/Authenticator.cpp
@@ -44,7 +44,7 @@ cAuthenticator::~cAuthenticator()
/// Read custom values from INI
-void cAuthenticator::ReadINI(cIniFile IniFile)
+void cAuthenticator::ReadINI(cIniFile & IniFile)
{
m_Server = IniFile.GetValue("Authentication", "Server");
m_Address = IniFile.GetValue("Authentication", "Address");
@@ -93,7 +93,7 @@ void cAuthenticator::Authenticate(int a_ClientID, const AString & a_UserName, co
-void cAuthenticator::Start(cIniFile IniFile)
+void cAuthenticator::Start(cIniFile & IniFile)
{
ReadINI(IniFile);
m_ShouldTerminate = false;