Fxied autoauth
authorJohn Hodge <[email protected]>
Sat, 19 Feb 2011 02:50:44 +0000 (10:50 +0800)
committerJohn Hodge <[email protected]>
Sat, 19 Feb 2011 02:50:44 +0000 (10:50 +0800)
src/server/server.c

index 3973690..92e26ff 100644 (file)
@@ -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");
 }

UCC git Repository :: git.ucc.asn.au