]> code.citadel.org Git - citadel.git/blobdiff - webcit/roomops.c
* Added in a bunch of stupid JavaScript to allow the instant message
[citadel.git] / webcit / roomops.c
index 6fd49a9c996fef41140fa8fee156c9fb5307cbbb..b20dafd3f1067f2cef1c80f78ac32809b748e29a 100644 (file)
@@ -1892,14 +1892,10 @@ void zap(void)
        if (!strcasecmp(bstr("sc"), "OK")) {
                serv_printf("GOTO %s", WC->wc_roomname);
                serv_gets(buf);
-               if (buf[0] != '2') {
-                       /* ExpressMessageCat(&buf[4]); */
-               } else {
+               if (buf[0] == '2') {
                        serv_puts("FORG");
                        serv_gets(buf);
-                       if (buf[0] != '2') {
-                               /* ExpressMessageCat(&buf[4]); */
-                       } else {
+                       if (buf[0] == '2') {
                                strcpy(final_destination, "_BASEROOM_");
                        }
                }