Also tweaked scripts- and player managers to handle id=0.

This commit is contained in:
Griatch 2012-09-29 17:12:16 +02:00
parent 33c15e99d2
commit 110207fd7f
2 changed files with 2 additions and 2 deletions

View file

@ -162,7 +162,7 @@ class PlayerManager(TypedObjectManager):
"""
ostring = ostring.lstrip("*")
dbref = self.dbref(ostring)
if dbref:
if dbref or dbref == 0:
matches = self.filter(id=dbref)
if matches:
return matches