Revert "Fix problem with trying to pass non-text to msg(text=...). Resolves #996."
This reverts commit 8fe631d808.
This commit is contained in:
parent
8fe631d808
commit
15036e8069
3 changed files with 3 additions and 5 deletions
|
|
@ -16,7 +16,7 @@ from django.utils import timezone
|
|||
from django.conf import settings
|
||||
from evennia.comms.models import ChannelDB
|
||||
from evennia.utils import logger
|
||||
from evennia.utils.utils import make_iter, lazy_property, to_str
|
||||
from evennia.utils.utils import make_iter, lazy_property
|
||||
from evennia.commands.cmdsethandler import CmdSetHandler
|
||||
from evennia.server.session import Session
|
||||
|
||||
|
|
@ -392,7 +392,7 @@ class ServerSession(Session):
|
|||
# that auto-adds the session, we'd get a kwarg collision.
|
||||
kwargs.pop("session", None)
|
||||
if text is not None:
|
||||
self.data_out(text=to_str(text, force_string=True), **kwargs)
|
||||
self.data_out(text=text, **kwargs)
|
||||
else:
|
||||
self.data_out(**kwargs)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue