Commit 46de8282 authored by Per Cederqvist's avatar Per Cederqvist

(add_member_old): Never set the invitation bit when a user adds

	himself to a conference.
parent 6a850de6
/*
* $Id: membership.c,v 0.36 1998/10/14 20:45:53 ceder Exp $
* $Id: membership.c,v 0.37 1998/12/20 19:39:48 ceder Exp $
* Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -32,7 +32,7 @@
#define DEBUG_MARK_AS_READ
static const char *
rcsid = "$Id: membership.c,v 0.36 1998/10/14 20:45:53 ceder Exp $";
rcsid = "$Id: membership.c,v 0.37 1998/12/20 19:39:48 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -860,6 +860,8 @@ add_member_old(Conf_no conf_no,
Membership_type type;
set_membership_type_bits(&type, param.invite_by_default,0,0,0,0,0,0,0);
if (pers_no == ACTPERS)
type.invitation = 0;
return add_member(conf_no, pers_no, priority, where, &type);
}
......
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