Commit 08f673b5 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(handshake_ok): Actually ignore the dns_done field when told to do so.

parent 225a6dcb
/*
* $Id: internal-connections.c,v 0.59 2003/08/05 09:51:20 ceder Exp $
* $Id: internal-connections.c,v 0.60 2003/08/06 22:04:17 ceder Exp $
* Copyright (C) 1991-1994, 1996-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -432,5 +432,8 @@ handshake_ok(struct connection *cptr,
if (!cptr->dns_done && !(ignored & ignore_dns))
return FALSE;
return cptr->username_valid == TRUE && cptr->dns_done == TRUE;
if (!cptr->username_valid)
return FALSE;
return TRUE;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment