Fixing issue 183, reported by sergi.reyner. Typo in src/objects/models.py, ocation/location.

This commit is contained in:
Greg Taylor 2011-09-07 15:47:19 +00:00
parent d2e0dfe59c
commit 3aad32d7b4

View file

@ -264,7 +264,7 @@ class ObjectDB(TypedObject):
loc = location
elif ObjectDB.objects.dbref(location):
# location is a dbref; search
loc = ObjectDB.objects.dbref_search(ocation)
loc = ObjectDB.objects.dbref_search(location)
if loc and hasattr(loc,'dbobj'):
loc = loc.dbobj
else: