From ef94334ef14b49e4dfa61167b997312aa1d236b4 Mon Sep 17 00:00:00 2001 From: Ari Johnson Date: Thu, 5 Apr 2007 14:45:34 +0000 Subject: [PATCH] Fix to division search class; to search for division objects you must use the full name "divisions" now --- src/wiz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wiz.c b/src/wiz.c index 79861fa..d628492 100644 --- a/src/wiz.c +++ b/src/wiz.c @@ -1900,7 +1900,7 @@ fill_search_spec(dbref player, const char *owner, int nargs, const char **args, } else if (string_prefix("players", class)) { strcpy(spec->name, restriction); spec->type = TYPE_PLAYER; - } else if (string_prefix("divisions", class)) { + } else if (!strcasecmp("divisions", class)) { strcpy(spec->name, restriction); spec->type = TYPE_DIVISION; } else if (string_prefix("name", class)) { -- 2.30.2