summaryrefslogtreecommitdiffstats
path: root/source/Authenticator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Authenticator.cpp')
-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;