X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fuser_ops.c;h=f154425078d9b29f2ec4bec8c1b8ea9eb5e1228a;hb=700c851c8cb12c5ebe9469e74a012fe79d703f13;hp=23a305131f3211cfdc004138acffb95d1c83644e;hpb=175dc0e125c9c7ad7a28b440878b6fcd211b71c6;p=citadel.git diff --git a/citadel/user_ops.c b/citadel/user_ops.c index 23a305131..f15442507 100644 --- a/citadel/user_ops.c +++ b/citadel/user_ops.c @@ -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); }