summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/squeltch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/squeltch.c b/src/squeltch.c
index d79e1989..0c1e2902 100644
--- a/src/squeltch.c
+++ b/src/squeltch.c
@@ -885,7 +885,7 @@ static bool_ condition_eval(condition_type *c, object_type *o_ptr)
sprintf(buf1, "%s", spp_ptr->title + c_name);
strlower(buf1);
- sprintf(buf2, "%s", c->race);
+ sprintf(buf2, "%s", c->klass);
strlower(buf2);
return streq(buf1, buf2);