* Performing a 'fetch' operation on an old revision of a wiki page now stuffs the...
authorArt Cancro <ajc@citadel.org>
Fri, 30 Oct 2009 04:32:42 +0000 (04:32 +0000)
committerArt Cancro <ajc@citadel.org>
Fri, 30 Oct 2009 04:32:42 +0000 (04:32 +0000)
citadel/modules/wiki/serv_wiki.c
citadel/room_ops.c

index af163f6538d52eb2f0d13fc4c5fb25d15e39c03e..252e493beb6fd16b3ba246b081c70734ea0e9aa5 100644 (file)
@@ -542,7 +542,9 @@ void wiki_rev(char *pagename, char *rev, char *operation)
                        msg->cm_fields['M'][len] = 0;
                        fclose(fp);
                }
-               msgnum = CtdlSubmitMsg(msg, NULL, "Lobby", 0);  /* FIXME put somewhere else */
+               char *wwm = "9999999999.WikiWaybackMachine";
+               CtdlCreateRoom(wwm, 5, "", 0, 1, 1, VIEW_BBS);
+               msgnum = CtdlSubmitMsg(msg, NULL, wwm, 0);      /* FIXME put somewhere else */
                CtdlFreeMessage(msg);
                cprintf("%d %ld\n", CIT_OK, msgnum);
        }
index 42c67e758e815db6fa8bd3fa1da0b6b3032121c6..5904b41eb871220e3958f34c9b78468b3e8a0f5f 100644 (file)
@@ -1820,7 +1820,7 @@ void cmd_kill(char *argbuf)
 /*
  * Internal code to create a new room (returns room flags)
  *
- * Room types:  0=public, 1=guessname, 2=passworded, 3=inv-only,
+ * Room types:  0=public, 1=hidden, 2=passworded, 3=invitation-only,
  *              4=mailbox, 5=mailbox, but caller supplies namespace
  */
 unsigned CtdlCreateRoom(char *new_room_name,