Correctly call the parent at_sync in the serversession. Resolves #1555.
This commit is contained in:
parent
4979b10463
commit
a45372e814
2 changed files with 3 additions and 1 deletions
|
|
@ -188,6 +188,7 @@ class ServerSession(Session):
|
||||||
if not _ObjectDB:
|
if not _ObjectDB:
|
||||||
from evennia.objects.models import ObjectDB as _ObjectDB
|
from evennia.objects.models import ObjectDB as _ObjectDB
|
||||||
|
|
||||||
|
super(ServerSession, self).at_sync()
|
||||||
if not self.logged_in:
|
if not self.logged_in:
|
||||||
# assign the unloggedin-command set.
|
# assign the unloggedin-command set.
|
||||||
self.cmdset_storage = settings.CMDSET_UNLOGGEDIN
|
self.cmdset_storage = settings.CMDSET_UNLOGGEDIN
|
||||||
|
|
|
||||||
|
|
@ -133,7 +133,8 @@ class Session(object):
|
||||||
on uid etc).
|
on uid etc).
|
||||||
|
|
||||||
"""
|
"""
|
||||||
self.protocol_flags.update(self.account.attributs.get("_saved_protocol_flags"), {})
|
if self.account:
|
||||||
|
self.protocol_flags.update(self.account.attributes.get("_saved_protocol_flags"), {})
|
||||||
|
|
||||||
# access hooks
|
# access hooks
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue