* going to 00000 doesn't refresh our state, it just gives us an error.
authorWilfried Göesgens <willi@citadel.org>
Wed, 11 Aug 2010 11:15:21 +0000 (11:15 +0000)
committerWilfried Göesgens <willi@citadel.org>
Wed, 11 Aug 2010 11:15:21 +0000 (11:15 +0000)
webcit/roomops.c

index 1db499d619e8a20eb19b8bbdd4ccba1f1055e9b2..ab398c69b5e1c534457918812bb72a14f0651f2f 100644 (file)
@@ -264,7 +264,7 @@ void embed_room_banner(void)
        char buf[256];
 
        /* refresh current room states... */
-       gotoroom(NULL);
+       /* dosen't work??? gotoroom(NULL); */
 
        /* The browser needs some information for its own use */
        wc_printf("<script type=\"text/javascript\">    \n"
@@ -581,7 +581,7 @@ long gotoroom(const StrBuf *gname)
        if (StrLength(gname) > 0)
                serv_printf("GOTO %s", ChrPtr(gname));
        else /* or just refresh the current state... */
-               serv_printf("GOTO");
+               serv_printf("GOTO 00000000000000000000");
        StrBuf_ServGetln(Buf);
        if  (GetServerStatus(Buf, &err) != 2) {
                serv_puts("GOTO _BASEROOM_");