X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fauth.c;h=9d2eaa3e66b2d49c694aa24f4566d97ea3ccfd1a;hb=f8436c49e7d2507205f232c9bc341366127408dc;hp=207d4a9c550ca52703dda2a84ceecfcfadaf923f;hpb=4d5d1e8eeafdc1cff455d9da9c5ba05ed03d2a5e;p=citadel.git diff --git a/webcit/auth.c b/webcit/auth.c index 207d4a9c5..9d2eaa3e6 100644 --- a/webcit/auth.c +++ b/webcit/auth.c @@ -135,6 +135,7 @@ void become_logged_in(const StrBuf *user, const StrBuf *pass, StrBuf *serv_respo get_preference("floordiv_expanded", &FloorDiv); WCC->floordiv_expanded = FloorDiv; FreeStrBuf(&Buf); + FlushRoomlist(); } @@ -497,6 +498,7 @@ void do_logout(void) FlushStrBuf(WCC->wc_username); FlushStrBuf(WCC->wc_password); FlushStrBuf(WCC->wc_fullname); + FlushRoomlist(); serv_puts("LOUT"); serv_getln(buf, sizeof buf);