mirror of
https://github.com/evennia/evennia.git
synced 2026-03-27 10:16:32 +01:00
Correctly call the parent at_sync in the serversession. Resolves #1555.
This commit is contained in:
parent
313bc1c4a4
commit
13f9bc4afa
2 changed files with 3 additions and 1 deletions
|
|
@ -188,6 +188,7 @@ class ServerSession(Session):
|
|||
if not _ObjectDB:
|
||||
from evennia.objects.models import ObjectDB as _ObjectDB
|
||||
|
||||
super(ServerSession, self).at_sync()
|
||||
if not self.logged_in:
|
||||
# assign the unloggedin-command set.
|
||||
self.cmdset_storage = settings.CMDSET_UNLOGGEDIN
|
||||
|
|
|
|||
|
|
@ -133,7 +133,8 @@ class Session(object):
|
|||
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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue