From 4c4475f3b50abe03cfed60014c1b48eda10b4859 Mon Sep 17 00:00:00 2001 From: madmaxoft Date: Mon, 7 Oct 2013 10:45:03 +0200 Subject: Fixed authenticator thread restart. This fixes #209. --- source/Authenticator.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source/Authenticator.h') diff --git a/source/Authenticator.h b/source/Authenticator.h index c9e647329..868476d80 100644 --- a/source/Authenticator.h +++ b/source/Authenticator.h @@ -42,7 +42,10 @@ public: /// 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); - // Stops the authenticator thread + /// Starts the authenticator thread. The thread may be started and stopped repeatedly + void Start(void); + + /// Stops the authenticator thread. The thread may be started and stopped repeatedly void Stop(void); private: -- cgit v1.2.3