Fixing @open to be a bit more robust. Also handle exit name matching a lot more gracefully.

This commit is contained in:
Greg Taylor 2007-05-18 15:20:24 +00:00
parent f6311dd41e
commit 531fbbacaa
4 changed files with 27 additions and 16 deletions

View file

@ -24,7 +24,7 @@ def match_exits(pobject, searchstr):
See if we can find an input match to exits.
"""
exits = pobject.get_location().get_contents(filter_type=4)
return functions_db.list_search_object_namestr(exits, searchstr)
return functions_db.list_search_object_namestr(exits, searchstr, match_type="exact")
def handle(cdat):
"""