X-Git-Url: https://mudpy.org/gitweb?p=mudpy.git;a=blobdiff_plain;f=mudpy.py;h=9f5cd1d07a46e8df7d46601dc2a25643262537de;hp=c989f0fea795faf3fa87ec7318d4cd278c380711;hb=03997fe4497ea4ebaaf35d29e331615d438b56de;hpb=eac3712e357ede3a1ab69ace0aaaf4709900c7a7 diff --git a/mudpy.py b/mudpy.py index c989f0f..9f5cd1d 100644 --- a/mudpy.py +++ b/mudpy.py @@ -559,7 +559,7 @@ class User: for old_user in universe.userlist: # the name is the same but it's not us - if old_user.account.get("name") == self.account.get("name") and old_user is not self: + if hasattr(old_user, "account") and old_user.account.get("name") == self.account.get("name") and old_user is not self: # make a note of it log("User " + self.account.get("name") + " reconnected--closing old connection to " + old_user.address + ".", 2)