summaryrefslogtreecommitdiff
path: root/server/subscr.c
diff options
context:
space:
mode:
authorGravatar Kenneth G Raeburn <raeburn@mit.edu>1990-08-16 18:49:41 +0000
committerGravatar Kenneth G Raeburn <raeburn@mit.edu>1990-08-16 18:49:41 +0000
commit53ceed7f369e6b7ed4e868b1398a97a971e5f4c7 (patch)
tree8e91541a5bbfe4708317dff0891c7c626282eee8 /server/subscr.c
parent96f3768384ea4fcfbb38fa9645e13b1cae7830b0 (diff)
Check that we aren't doing a brain dump before diving into the acl
code. This should speed things up quite a bit, but requires that we be careful with the "bdumping" flag when we turn on concurrency. Author: tytso. Auditor: raeburn.
Diffstat (limited to 'server/subscr.c')
-rw-r--r--server/subscr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/subscr.c b/server/subscr.c
index c565034..fe071bb 100644
--- a/server/subscr.c
+++ b/server/subscr.c
@@ -153,7 +153,7 @@ ZNotice_t *notice;
continue;
}
acl = class_get_acl(subs->zst_class);
- if (acl) {
+ if (acl && !bdumping) {
if (!access_check(notice, acl, SUBSCRIBE)) {
syslog(LOG_WARNING, "subscr unauth %s %s",
notice->z_sender, subs->zst_class);