* When a user logs in, create the Mail> room if it doesn't exist. (Should
authorArt Cancro <ajc@citadel.org>
Mon, 9 Sep 2002 03:03:18 +0000 (03:03 +0000)
committerArt Cancro <ajc@citadel.org>
Mon, 9 Sep 2002 03:03:18 +0000 (03:03 +0000)
  never happen, but one site had a situation where this patch came in handy.)

citadel/ChangeLog
citadel/user_ops.c

index 5f19ad09b903cac68e3b31b96ae776dd1f0d30f2..c05bc0fc471dc4fe6af069ae81126e2621d77e74 100644 (file)
@@ -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 <S>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 <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import
-
index 5654987d9d756cb37fc03e9af6acfcaf34a0a3e5..9b809fdf664a07728c3b8cac5ba7c0e65ade9b74 100644 (file)
@@ -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 */