Commit aafb94b8 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(add_member): Log a message if somebody adds else to a conference.

parent 012e89e8
/*
* $Id: membership.c,v 0.25 1995/11/02 21:48:48 ceder Exp $
* $Id: membership.c,v 0.26 1996/03/12 22:01:37 ceder Exp $
* Copyright (C) 1991, 1992, 1993, 1994, 1995 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -31,7 +31,7 @@
#define DEBUG_MARK_AS_READ
static char *rcsid = "$Id: membership.c,v 0.25 1995/11/02 21:48:48 ceder Exp $";
static char *rcsid = "$Id: membership.c,v 0.26 1996/03/12 22:01:37 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -832,6 +832,12 @@ add_member(Conf_no conf_no,
}
else
{
if (pers_no != ACTPERS)
log("Person %lu added to conference %lu by %lu.\n",
(unsigned long)pers_no,
(unsigned long)conf_no,
(unsigned long)ACTPERS);
do_add_member(conf_no, conf_c, pers_no, pers_p, priority, where);
}
......
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