diff options
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 */ |