mirror of
https://github.com/evennia/evennia.git
synced 2026-03-30 04:27:16 +02:00
bugfix of protocol_flag update mechanism
This commit is contained in:
parent
c8b1dfcd20
commit
bb835c3da6
1 changed files with 2 additions and 2 deletions
|
|
@ -118,9 +118,9 @@ class Session(object):
|
|||
|
||||
"""
|
||||
for propname, value in sessdata.items():
|
||||
if (propname == "prototocol_flags" and isinstance(value, dict) and
|
||||
if (propname == "protocol_flags" and isinstance(value, dict) and
|
||||
hasattr(self, "protocol_flags") and
|
||||
isinstance(self.protocol_flags.propname, dict)):
|
||||
isinstance(self.protocol_flags, dict)):
|
||||
# special handling to allow partial update of protocol flags
|
||||
self.protocol_flags.update(value)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue