Commit 5095e105 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(create_person_generic): Initialize allow_anon, reserved1, reserved2,

	and reserved3.
parent 634cf75c
/* /*
* $Id: person.c,v 0.42 1998/08/22 20:51:00 ceder Exp $ * $Id: person.c,v 0.43 1998/11/14 17:35:41 ceder Exp $
* Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996 Lysator Academic Computer Association. * Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996 Lysator Academic Computer Association.
* *
* This file is part of the LysKOM server. * This file is part of the LysKOM server.
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
*/ */
static const char * static const char *
rcsid = "$Id: person.c,v 0.42 1998/08/22 20:51:00 ceder Exp $"; rcsid = "$Id: person.c,v 0.43 1998/11/14 17:35:41 ceder Exp $";
#include "rcs.h" #include "rcs.h"
USE(rcsid); USE(rcsid);
...@@ -599,6 +599,10 @@ create_person_generic ( const String name, ...@@ -599,6 +599,10 @@ create_person_generic ( const String name,
mailbox->type.original = 0; mailbox->type.original = 0;
mailbox->type.secret = 0; mailbox->type.secret = 0;
mailbox->type.letter_box = 1; mailbox->type.letter_box = 1;
mailbox->type.allow_anon = 1;
mailbox->type.reserved1 = 0;
mailbox->type.reserved2 = 0;
mailbox->type.reserved3 = 0;
mailbox->last_written = mailbox->creation_time; mailbox->last_written = mailbox->creation_time;
mailbox->msg_of_day = 0; mailbox->msg_of_day = 0;
mailbox->nice = param.default_nice; mailbox->nice = param.default_nice;
......
Supports Markdown
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