X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Froomops.c;h=d63bfdd963cd1d1110e04c4b014e0ca618b8cde0;hb=b212124c4fe6aded9b574dfc50e866bb3fbbab48;hp=1b7925641687d237af1800472de2a4442dabd250;hpb=0fd2e472759ead47a740ed047368defbde4626ff;p=citadel.git diff --git a/webcit/roomops.c b/webcit/roomops.c index 1b7925641..d63bfdd96 100644 --- a/webcit/roomops.c +++ b/webcit/roomops.c @@ -258,22 +258,13 @@ void zapped_list(void) * */ -void embed_room_banner(char *got) +void embed_room_banner(void) { wcsession *WCC = WC; char buf[256]; - - /* - * We need to have the information returned by a GOTO server command. - * If it isn't supplied, we fake it by issuing our own GOTO. - */ - if (got == NULL) { - memset(buf, '0', 20); - buf[20] = '\0'; - serv_printf("GOTO %s", ChrPtr(WC->CurRoom.name)); - serv_getln(buf, sizeof buf); - got = buf; - } + + /* refresh current room states... */ + gotoroom(NULL); /* The browser needs some information for its own use */ wc_printf("