Gah, one of these days I'll remember to completely fix both sides of things. No longer showing object's dbref on disconnect either.

This commit is contained in:
Greg Taylor 2007-05-18 14:25:31 +00:00
parent 9e5c297faa
commit f6311dd41e

View file

@ -120,7 +120,7 @@ class PlayerSession(async_chat):
pobject = self.get_pobject()
if pobject:
pobject.set_flag("CONNECTED", False)
pobject.get_location().emit_to_contents("%s has disconnected." % (pobject.get_name(),), exclude=pobject)
pobject.get_location().emit_to_contents("%s has disconnected." % (pobject.get_name(show_dbref=False),), exclude=pobject)
async_chat.handle_close(self)
self.logged_in = False