put hash check back in until we have MD5 in place

This commit is contained in:
Darren Ranalli 2003-11-21 05:01:49 +00:00
parent 6f5da208c1
commit 447afa95d8

View File

@ -182,14 +182,12 @@ class DistributedLevelAI(DistributedObjectAI.DistributedObjectAI,
# client should not be connecting. Their entityTypeRegistry
# is different from ours.
srvHash = hash(self.levelSpec.entTypeReg)
"""
if srvHash != entTypeRegHash:
self.sendUpdateToAvatarId(
senderId, 'setSpecDeny',
['EntityTypeRegistry hashes do not match! '
'(server:%s, client:%s' % (srvHash, entTypeRegHash)])
return
"""
spec = None
# don't need to hit disk if we're just sending 'None' over the wire
useDisk = 0