Refactoring to go with the fixed AMP structure and methods.

This commit is contained in:
Griatch 2015-09-21 16:50:05 +02:00
parent d553c46ba5
commit 1d17302d16
6 changed files with 30 additions and 28 deletions

View file

@ -425,9 +425,6 @@ class DefaultObject(ObjectDB):
All extra kwargs will be passed on to the protocol.
"""
from evennia.server.profiling.timetrace import timetrace
text = timetrace(text, "Object.msg")
text = to_str(text, force_string=True) if text != None else ""
if from_obj:
# call hook