* Started writing wiki code. It completely does not work. :)
[citadel.git] / webcit / messages.c
index 4bde21073c7cb5e06fc6a7c069def2208ae1e19f..0009f6b9c0292cedf508cc51023c3e965506a958 100644 (file)
@@ -1860,6 +1860,12 @@ void readloop(char *oper)
        char *datesort_button;
        int bbs_reverse = 0;
 
+       if (WC->wc_view == VIEW_WIKI) {
+               sprintf(buf, "wiki/%s/home", WC->wc_roomname);
+               http_redirect(buf);
+               return;
+       }
+
        startmsg = atol(bstr("startmsg"));
        maxmsgs = atoi(bstr("maxmsgs"));
        is_summary = atoi(bstr("summary"));