From: John Hodge Date: Sat, 19 Feb 2011 02:50:44 +0000 (+0800) Subject: Fxied autoauth X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=45c5276c5d513e522f5030ab52eb9429e35d82b6;p=tpg%2Fopendispense2.git Fxied autoauth --- diff --git a/src/server/server.c b/src/server/server.c index 3973690..92e26ff 100644 --- a/src/server/server.c +++ b/src/server/server.c @@ -422,9 +422,11 @@ void Server_Cmd_AUTOAUTH(tClient *Client, char *Args) sendf(Client->Socket, "401 Auth Failure\n"); return ; } + + Client->bIsAuthed = 1; if(giDebugLevel) - printf("Client %i: Authenticated as '%s' (%i)\n", Client->ID, Args, Client->UID); + printf("Client %i: Auto authenticated as '%s' (%i)\n", Client->ID, Args, Client->UID); sendf(Client->Socket, "200 Auth OK\n"); }