mirror of
https://github.com/evennia/evennia.git
synced 2026-03-23 16:26:30 +01:00
Made a first version of the new OOB infrastructure, works with normal text-command sending.
This commit is contained in:
parent
4817ec90b3
commit
2d826df2f4
2 changed files with 3 additions and 2 deletions
|
|
@ -391,7 +391,8 @@ class ServerSession(Session):
|
|||
text, args = text[0], list(text[1:])
|
||||
else:
|
||||
text, args = text, []
|
||||
options = kwargs.get("options", {})
|
||||
print("kwargs", kwargs, kwargs.get("options", {}))
|
||||
options = kwargs.get("options", None) or {}
|
||||
raw = options.get("raw", False)
|
||||
strip_inlinefunc = options.get("strip_inlinefunc", False)
|
||||
if _INLINEFUNC_ENABLED and not raw:
|
||||
|
|
|
|||
|
|
@ -212,7 +212,7 @@ class ServerSessionHandler(SessionHandler):
|
|||
# validate all scripts
|
||||
_ScriptDB.objects.validate()
|
||||
self[sess.sessid] = sess
|
||||
sess.data_in(text=CMD_LOGINSTART)
|
||||
self.data_in(sess, text=(CMD_LOGINSTART,))
|
||||
|
||||
def portal_session_sync(self, portalsessiondata):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue