Updated commands to use the new objectdb.search API.

This commit is contained in:
Griatch 2013-05-11 23:22:02 +02:00
parent 218e4a149c
commit 78e7346962
11 changed files with 97 additions and 84 deletions

View file

@ -160,7 +160,6 @@ class PlayerManager(TypedObjectManager):
ostring = a string or database id.
"""
ostring = ostring.lstrip("*")
dbref = self.dbref(ostring)
if dbref or dbref == 0:
matches = self.filter(id=dbref)