summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElmo Todurov <todurov+git@gmail.com>2013-08-18 22:28:31 +0300
committerElmo Todurov <todurov+git@gmail.com>2013-08-18 22:32:30 +0300
commit49fd23aa07484051adb9ad1ed13222e1767ec997 (patch)
tree17f232bba74de6ed9030d45b0c71e17b50f76eef
parented1d4f8d8ce99b213ded7d1b18572e71d2c3024f (diff)
Fixed autosqueltch class name matching
-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);