X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=webcit%2Fwebcit.c;h=e284f22ac9c3e1094994fbe37a91745200213575;hp=59347777d3cde9ab85f1a848649ecc0b83f552f7;hb=a3ba94ad306d781296c53012f732f3a910015263;hpb=e3fa51f18bc8922c12161cdccba6e6b2a84c3a27 diff --git a/webcit/webcit.c b/webcit/webcit.c index 59347777d..e284f22ac 100644 --- a/webcit/webcit.c +++ b/webcit/webcit.c @@ -653,11 +653,11 @@ void session_loop(void) * If we aren't in any room yet, but we have cookie data telling us where we're * supposed to be, and 'gotofirst' was not specified, then go there. */ - else if ( (StrLength(WCC->wc_roomname) == 0) && ( (StrLength(WCC->Hdr->c_roomname) > 0) )) { + else if ( (StrLength(WCC->CurRoom.name) == 0) && ( (StrLength(WCC->Hdr->c_roomname) > 0) )) { int ret; lprintf(9, "We are in '%s' but cookie indicates '%s', going there...\n", - ChrPtr(WCC->wc_roomname), + ChrPtr(WCC->CurRoom.name), ChrPtr(WCC->Hdr->c_roomname) ); ret = gotoroom(WCC->Hdr->c_roomname); /* do quietly to avoid session output! */