mirror of
https://github.com/evennia/evennia.git
synced 2026-03-26 01:36:32 +01:00
Fixed a simple issue if non-text was fed into the msg() call from server-side. Resolves #965.
This commit is contained in:
parent
b69340695f
commit
b00e357868
2 changed files with 2 additions and 0 deletions
|
|
@ -501,6 +501,7 @@ class DefaultObject(with_metaclass(TypeclassBase, ObjectDB)):
|
|||
except Exception:
|
||||
logger.log_trace()
|
||||
|
||||
text = None if text is None else str(text)
|
||||
kwargs["options"] = options
|
||||
|
||||
# relay to session(s)
|
||||
|
|
|
|||
|
|
@ -416,6 +416,7 @@ class DefaultPlayer(with_metaclass(TypeclassBase, PlayerDB)):
|
|||
except Exception:
|
||||
pass
|
||||
|
||||
text = None if text is None else str(text)
|
||||
kwargs["options"] = options
|
||||
|
||||
# session relay
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue