diff options
author | Kenneth G Raeburn <raeburn@mit.edu> | 1990-11-16 20:25:19 +0000 |
---|---|---|
committer | Kenneth G Raeburn <raeburn@mit.edu> | 1990-11-16 20:25:19 +0000 |
commit | 52d7f6a5b9dceb9b4cde0a695e3ccbe1c6f3f611 (patch) | |
tree | 94c507ff3b2174c6ce7fc02fba12f6e149575927 /server/class.c | |
parent | 354f7fa67905ea9585d18552b33e3a9c485cddb3 (diff) |
Check entire destination, not just class...
Diffstat (limited to 'server/class.c')
-rw-r--r-- | server/class.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/class.c b/server/class.c index c5628e9..3a9604e 100644 --- a/server/class.c +++ b/server/class.c @@ -324,7 +324,7 @@ class_get_acl(ZString class_name) /* walk down the list, looking for a match */ for (ptr2 = ptr->q_forw; ptr2 != ptr; ptr2 = ptr2->q_forw) - if (ptr2->zct_dest.classname == class_name) + if (ptr2->zct_dest == d) return(ptr2->zct_acl); /* fell off the end, no match ==> not restricted */ |