* When sending mail, copy to the sender's "Sent Items>" room instead of to
[citadel.git] / citadel / user_ops.c
index 23a305131f3211cfdc004138acffb95d1c83644e..f154425078d9b29f2ec4bec8c1b8ea9eb5e1228a 100644 (file)
@@ -400,10 +400,16 @@ void session_startup(void)
        }
        lputuser(&CC->usersupp);
 
-       /* Run any cleanup routines registered by loadable modules */
+       /* Run any startup routines registered by loadable modules */
        PerformSessionHooks(EVT_LOGIN);
 
-       usergoto(BASEROOM, 0, NULL, NULL);      /* Enter the lobby */
+       /* Create any personal rooms required by the system */
+       create_room(SENTITEMS, 4, "", 0, 1);
+
+       /* Enter the lobby */
+       usergoto(BASEROOM, 0, NULL, NULL);
+
+       /* Record this login in the Citadel log */
        rec_log(CL_LOGIN, CC->curr_user);
 }