Send Search Results through _AT_SEARCH_RESULT in DefaultObject class

This commit is contained in:
David Estrada 2020-04-20 18:36:49 -07:00
parent f294af2106
commit 66c8bb2be8

View file

@ -498,12 +498,11 @@ class DefaultObject(ObjectDB, metaclass=TypeclassBase):
use_dbref=use_dbref,
)
if quiet:
return results
return _AT_SEARCH_RESULT(
results,
self,
query=searchdata,
quiet=quiet,
nofound_string=nofound_string,
multimatch_string=multimatch_string,
)