Fixed subdivision search class crash
authorAri Johnson <ari@cobramush.org>
Fri, 6 Apr 2007 04:05:21 +0000 (04:05 +0000)
committerAri Johnson <ari@theari.com>
Thu, 24 Mar 2011 15:58:45 +0000 (15:58 +0000)
(cherry picked from commit c489b741c7f8490b4b7d556fa3a76669e8546658)

src/wiz.c

index bbe0f5b8be442037c752ebf44eae9feb65407f2c..4fd8d192888f5b20f4bc5df3584f475d2fcce1e6 100644 (file)
--- a/src/wiz.c
+++ b/src/wiz.c
@@ -1786,7 +1786,8 @@ fill_search_spec(dbref player, const char *owner, int nargs, const char **args,
   int n;
   const char *class, *restriction;
 
-  spec->zone = spec->parent = spec->owner = spec->division = ANY_OWNER;
+  spec->zone = spec->parent = spec->owner = ANY_OWNER;
+  spec->division = spec->subdivision = ANY_OWNER;
   spec->type = NOTYPE;
   strcpy(spec->flags, "");
   strcpy(spec->lflags, "");