]> code.citadel.org Git - citadel.git/blobdiff - webcit/messages.c
wiki
[citadel.git] / webcit / messages.c
index 4bde21073c7cb5e06fc6a7c069def2208ae1e19f..b80520fd70cddf1eb49195b1d2393e752645eddf 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?room=%s?page=home", WC->wc_roomname);
+               http_redirect(buf);
+               return;
+       }
+
        startmsg = atol(bstr("startmsg"));
        maxmsgs = atoi(bstr("maxmsgs"));
        is_summary = atoi(bstr("summary"));