mirror of
https://github.com/evennia/evennia.git
synced 2026-03-30 20:47:17 +02:00
Server module should be accessed through proxy, i.e. through the sessionhandler, at all times. Resolves issue 127. Script updates made @ps non-compatible, fixed the formatting. Resolves issue 128.
This commit is contained in:
parent
f0b4c581f7
commit
5464487c93
4 changed files with 31 additions and 16 deletions
|
|
@ -47,6 +47,9 @@ class SessionHandler(object):
|
|||
self.unloggedin = []
|
||||
self.loggedin = []
|
||||
|
||||
# we keep a link to the server here, for the rest of the game to access.
|
||||
self.server = None
|
||||
|
||||
def add_unloggedin_session(self, session):
|
||||
"""
|
||||
Call at first connect. This adds a not-yet authenticated session.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue