From: Ari Johnson Date: Thu, 5 Apr 2007 14:45:34 +0000 (+0000) Subject: Fix to division search class; to search for division objects you must use the full... X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=ef94334ef14b49e4dfa61167b997312aa1d236b4;p=cobramush.git Fix to division search class; to search for division objects you must use the full name "divisions" now --- 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)) {