projects
/
mudpy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported from archive.
[mudpy.git]
/
mudpy.py
diff --git
a/mudpy.py
b/mudpy.py
index
06563f7
..
01b9142
100644
(file)
--- a/
mudpy.py
+++ b/
mudpy.py
@@
-562,7
+562,7
@@
class User:
for old_user in universe.userlist:
# the name is the same but it's not us
for old_user in universe.userlist:
# the name is the same but it's not us
- if hasattr(old_user, "account") and old_user.account.get("name") == self.account.get("name") and old_user is not self:
+ if hasattr(old_user, "account") and 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)
# make a note of it
log("User " + self.account.get("name") + " reconnected--closing old connection to " + old_user.address + ".", 2)