From 53ceed7f369e6b7ed4e868b1398a97a971e5f4c7 Mon Sep 17 00:00:00 2001 From: Kenneth G Raeburn Date: Thu, 16 Aug 1990 18:49:41 +0000 Subject: 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. --- server/subscr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/subscr.c') 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); -- cgit v1.2.3