Fix to division search class; to search for division objects you must use the full...
authorAri Johnson <ari@cobramush.org>
Thu, 5 Apr 2007 14:45:34 +0000 (14:45 +0000)
committerAri Johnson <ari@theari.com>
Thu, 24 Mar 2011 15:58:45 +0000 (15:58 +0000)
(cherry picked from commit ef94334ef14b49e4dfa61167b997312aa1d236b4)

src/wiz.c

index 79861faffcb4fc7201b8880a32878a3ec9a8fcc1..d62849265a8c4924c9a6bb3fcd0a54c7fbe51775 100644 (file)
--- 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)) {