projects
/
cobramush.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f4d131
)
Fix to division search class; to search for division objects you must use the full...
author
Ari Johnson
<ari@cobramush.org>
Thu, 5 Apr 2007 14:45:34 +0000
(14:45 +0000)
committer
Ari Johnson
<ari@theari.com>
Thu, 24 Mar 2011 15:58:45 +0000
(15:58 +0000)
(cherry picked from commit
ef94334ef14b49e4dfa61167b997312aa1d236b4
)
src/wiz.c
patch
|
blob
|
history
diff --git
a/src/wiz.c
b/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)) {