*
* This program is open source software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, version 3.
- *
- *
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
- *
- *
*/
#include "webcit.h"
&& (strncasecmp(ptr, "<a href=\"knrooms?", 17))
) {
content_length += 64;
- StrBufAppendPrintf(converted_msg, "<a href=\"wiki?page=");
+ StrBufAppendPrintf(converted_msg, "<a href=\"wiki?go=");
+ StrBufUrlescAppend(converted_msg, WC->CurRoom.name, NULL);
+ StrBufAppendPrintf(converted_msg, "?page=");
ptr = &ptr[9];
}
else {