Commit 2e282bdd authored by Per Cederqvist's avatar Per Cederqvist
Browse files

delete_conf: logga ut r{tt person n{r en person raderas.

parent 52fed243
Tue Sep 10 21:58:18 1991 Per Cederqvist (ceder at robert)
* conference.c (delete_conf): Om det {r en brevl}da som tas bort
s} ska personen som tas bort loggas ut f|rst (inte n|dv{ndigtvis
personen som tar bort en person...)
Thu Sep 5 10:14:40 1991 Per Cederqvist (ceder at lysator)
* cache.h, simple-cache.c, dbck-cache.c (cached_set_conf_type):
......
......@@ -4,7 +4,7 @@
* All atomic calls that deals with conferences.
*/
static char *rcsid = "$Id: conference.c,v 0.10 1991/09/05 08:32:50 ceder Exp $";
static char *rcsid = "$Id: conference.c,v 0.11 1991/09/10 20:01:58 ceder Exp $";
#include <time.h>
......@@ -429,7 +429,7 @@ delete_conf (Conf_no conf_no )
CHK_LOGIN(FAILURE);
GET_C_STAT(conf_c, conf_no, FAILURE);
acc = access_perm(conf_no, conf_c);
acc = access_perm (conf_no, conf_c);
if ( acc != unlimited )
{
......@@ -439,15 +439,17 @@ delete_conf (Conf_no conf_no )
if ( conf_c->type.letter_box )
{
logout_person(ACTPERS); /* Log out this person from any connection */
/* Make sure the person that is deleted is not logged in. */
logout_person (conf_no);
if ( do_delete_pers( conf_no ) != OK )
if ( do_delete_pers (conf_no) != OK )
{
log("ERROR: delete_conf(): can't delete person.\n");
}
}
do_delete_conf( conf_no, conf_c );
do_delete_conf (conf_no, conf_c);
return OK;
}
......
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