$Log$
+ Revision 614.45 2004/02/20 19:29:05 error
+ * Fix bug 112: .Goto allowed partial room match on forgotten rooms
+
Revision 614.44 2004/02/20 02:55:18 ajc
* Fixed one of the prompts (bugzilla #118)
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
-
* If a match is not found, try a partial match.
* Partial matches anywhere in the string carry a weight of 1,
* left-aligned matches carry a weight of 2. Pick the room that
- * has the highest-weighted match.
+ * has the highest-weighted match. Do not match on forgotten
+ * rooms.
*/
if (r / 100 != 2) {
struct march *march = NULL;
best_match = 0;
strcpy(bbb, "");
- r = CtdlIPCKnownRooms(ipc, AllAccessibleRooms, AllFloors, &march, aaa);
+ r = CtdlIPCKnownRooms(ipc, SubscribedRooms, AllFloors, &march, aaa);
if (r / 100 == 1) {
/* Run the roomlist; free the data as we go */
struct march *mp = march; /* Current */