Reworked most of the system to use sessions directly instead of sessids by the introduction of on-object sessionhandlers. No debugging done yet.
This commit is contained in:
parent
556a0cc332
commit
709f5ff5b3
5 changed files with 234 additions and 259 deletions
|
|
@ -396,9 +396,7 @@ class ServerSession(Session):
|
|||
from evennia.utils import ansi as _ANSI
|
||||
text = _ANSI.parse_ansi(text, strip_ansi=True, xterm256=False, mxp=False)
|
||||
text = _RE_SCREENREADER_REGEX.sub("", text)
|
||||
session = kwargs.pop('session', None)
|
||||
session = session or self
|
||||
self.sessionhandler.data_out(session, text=text, **kwargs)
|
||||
self.sessionhandler.data_out(self, text=text, **kwargs)
|
||||
# alias
|
||||
msg = data_out
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue