diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2021-10-02 22:27:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-02 22:27:32 +0200 |
commit | 1a0d9450eaa0f3c2ff475175f5d45932fd4dd7fa (patch) | |
tree | bb20f3445773dca9c348ee2939ddc5609e8dbfa0 /src/Protocol/Authenticator.h | |
parent | Blaze shoot sound fix (diff) | |
download | cuberite-1a0d9450eaa0f3c2ff475175f5d45932fd4dd7fa.tar cuberite-1a0d9450eaa0f3c2ff475175f5d45932fd4dd7fa.tar.gz cuberite-1a0d9450eaa0f3c2ff475175f5d45932fd4dd7fa.tar.bz2 cuberite-1a0d9450eaa0f3c2ff475175f5d45932fd4dd7fa.tar.lz cuberite-1a0d9450eaa0f3c2ff475175f5d45932fd4dd7fa.tar.xz cuberite-1a0d9450eaa0f3c2ff475175f5d45932fd4dd7fa.tar.zst cuberite-1a0d9450eaa0f3c2ff475175f5d45932fd4dd7fa.zip |
Diffstat (limited to 'src/Protocol/Authenticator.h')
-rw-r--r-- | src/Protocol/Authenticator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Protocol/Authenticator.h b/src/Protocol/Authenticator.h index 5fd8e5434..39a50ac47 100644 --- a/src/Protocol/Authenticator.h +++ b/src/Protocol/Authenticator.h @@ -41,7 +41,7 @@ public: void ReadSettings(cSettingsRepositoryInterface & a_Settings); /** Queues a request for authenticating a user. If the auth fails, the user will be kicked */ - void Authenticate(int a_ClientID, const AString & a_UserName, const AString & a_ServerHash); + void Authenticate(int a_ClientID, AString && a_Username, const AString & a_ServerHash); /** Starts the authenticator thread. The thread may be started and stopped repeatedly */ void Start(cSettingsRepositoryInterface & a_Settings); |