From: Art Cancro Date: Mon, 9 Sep 2002 03:03:18 +0000 (+0000) Subject: * When a user logs in, create the Mail> room if it doesn't exist. (Should X-Git-Tag: v7.86~6254 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=42335286211e4f63fc0e60e9120858fded430f56;p=citadel.git * When a user logs in, create the Mail> room if it doesn't exist. (Should never happen, but one site had a situation where this patch came in handy.) --- diff --git a/citadel/ChangeLog b/citadel/ChangeLog index 5f19ad09b..c05bc0fc4 100644 --- a/citadel/ChangeLog +++ b/citadel/ChangeLog @@ -1,4 +1,8 @@ $Log$ + Revision 601.2 2002/09/09 03:03:18 ajc + * When a user logs in, create the Mail> room if it doesn't exist. (Should + never happen, but one site had a situation where this patch came in handy.) + Revision 601.1 2002/09/08 04:15:28 ajc * Also fixed a bug in <.T>erminate tay which caused the terminal to become wacky on second and subsequent sessions. @@ -3984,4 +3988,3 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant Fri Jul 10 1998 Art Cancro * Initial CVS import - diff --git a/citadel/user_ops.c b/citadel/user_ops.c index 5654987d9..9b809fdf6 100644 --- a/citadel/user_ops.c +++ b/citadel/user_ops.c @@ -406,7 +406,10 @@ void session_startup(void) /* Run any startup routines registered by loadable modules */ PerformSessionHooks(EVT_LOGIN); - /* Create any personal rooms required by the system */ + /* Create any personal rooms required by the system. + * (Technically, MAILROOM should be there already, but just in case...) + */ + create_room(MAILROOM, 4, "", 0, 1, 0); create_room(SENTITEMS, 4, "", 0, 1, 0); /* Enter the lobby */