Make object search handle a dbref=0.

This commit is contained in:
Griatch 2012-08-18 23:17:14 +02:00
parent 327cfc5098
commit 889708cf07

View file

@ -229,7 +229,7 @@ class ObjectManager(TypedObjectManager):
""" """
ostring = to_unicode(ostring, force_string=True) ostring = to_unicode(ostring, force_string=True)
if not ostring: if not ostring and ostring != 0:
return [] return []
# Easiest case - dbref matching (always exact) # Easiest case - dbref matching (always exact)