Commit 8f787ecc authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(do_get_members): Use init_member() to set all fields, and then

	explicitly set (only) the secret bit.
parent 37f61d3d
/*
* $Id: membership.c,v 0.75 2002/11/10 14:06:05 ceder Exp $
* $Id: membership.c,v 0.76 2002/11/10 14:10:52 ceder Exp $
* Copyright (C) 1991-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -1626,8 +1626,7 @@ do_get_members(Conf_no conf_no,
else
{
init_member(&members->members[dst]);
set_membership_type_bits(&members->members[dst].type,
0,0,1,0,0,0,0,0);
members->members[dst].type.secret = 1;
}
}
......
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