Can log in, still errors all over the place due to missing .typeclass/.dbobj

This commit is contained in:
Griatch 2014-12-28 20:00:31 +01:00
parent b839614259
commit 3d557f6bf9
3 changed files with 8 additions and 8 deletions

View file

@ -286,7 +286,7 @@ class TypedObject(SharedMemoryModel):
"""
Returns the object's dbref on the form #NN.
"""
return "#%s" % GA(self, "_TypedObject__dbid_get")()
return "#%s" % self.dbid
def __dbref_set(self):
raise Exception("dbref cannot be set!")