Fixed erroneous global_search keyword in a few places in the code due to the API having changed. Resolves issue 276.

This commit is contained in:
Griatch 2012-10-14 12:06:42 +02:00
parent 8b582c9d3f
commit 97973dd5f9
3 changed files with 29 additions and 29 deletions

View file

@ -262,7 +262,7 @@ class CmdScripts(MuxCommand):
scripts = ScriptDB.objects.get_all_scripts(key=args)
if not scripts:
# try to find an object instead.
objects = ObjectDB.objects.object_search(args, caller=caller, global_search=True)
objects = ObjectDB.objects.object_search(args, caller=caller)
if objects:
scripts = []
for obj in objects: