summaryrefslogtreecommitdiffstats
path: root/source/Authenticator.h
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.h
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 'source/Authenticator.h')
-rw-r--r--source/Authenticator.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/Authenticator.h b/source/Authenticator.h
index 9c7c57e6d..02cd6f4c5 100644
--- a/source/Authenticator.h
+++ b/source/Authenticator.h
@@ -37,13 +37,13 @@ public:
~cAuthenticator();
/// (Re-)read server and address from INI:
- void ReadINI(cIniFile IniFile);
+ void ReadINI(cIniFile & IniFile);
/// Queues a request for authenticating a user. If the auth fails, the user is kicked
void Authenticate(int a_ClientID, const AString & a_UserName, const AString & a_ServerHash);
/// Starts the authenticator thread. The thread may be started and stopped repeatedly
- void Start(cIniFile IniFile);
+ void Start(cIniFile & IniFile);
/// Stops the authenticator thread. The thread may be started and stopped repeatedly
void Stop(void);