Changed object.search() to include nick-matching by default.
This commit is contained in:
parent
3430aa9eae
commit
bc8e27fea6
2 changed files with 3 additions and 3 deletions
|
|
@ -243,7 +243,7 @@ class ObjectDB(TypedObject):
|
||||||
|
|
||||||
def search(self, searchdata,
|
def search(self, searchdata,
|
||||||
global_search=False,
|
global_search=False,
|
||||||
use_nicks=False,
|
use_nicks=True, # should this default to off?
|
||||||
typeclass=None,
|
typeclass=None,
|
||||||
location=None,
|
location=None,
|
||||||
attribute_name=None,
|
attribute_name=None,
|
||||||
|
|
|
||||||
|
|
@ -85,7 +85,7 @@ class Object(TypeClass):
|
||||||
* Helper methods (see src.objects.objects.py for full headers)
|
* Helper methods (see src.objects.objects.py for full headers)
|
||||||
|
|
||||||
search(ostring, global_search=False, global_dbref=False, attribute_name=None,
|
search(ostring, global_search=False, global_dbref=False, attribute_name=None,
|
||||||
use_nicks=False, location=None, ignore_errors=False, player=False)
|
use_nicks=True, location=None, ignore_errors=False, player=False)
|
||||||
execute_cmd(raw_string)
|
execute_cmd(raw_string)
|
||||||
msg(message, **kwargs)
|
msg(message, **kwargs)
|
||||||
msg_contents(message, exclude=None, from_obj=None, **kwargs)
|
msg_contents(message, exclude=None, from_obj=None, **kwargs)
|
||||||
|
|
@ -143,7 +143,7 @@ class Object(TypeClass):
|
||||||
|
|
||||||
def search(self, ostring,
|
def search(self, ostring,
|
||||||
global_search=False,
|
global_search=False,
|
||||||
use_nicks=False,
|
use_nicks=True,
|
||||||
typeclass=None,
|
typeclass=None,
|
||||||
location=None,
|
location=None,
|
||||||
attribute_name=None,
|
attribute_name=None,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue