diff options
Diffstat (limited to 'server/access.c')
-rw-r--r-- | server/access.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/server/access.c b/server/access.c index d6f4eee..34e310f 100644 --- a/server/access.c +++ b/server/access.c @@ -55,8 +55,10 @@ ZAccess_t accesstype; syslog(LOG_ERR, "unknown access type %d", accesstype); return(0); } - (void) sprintf(buf, "%s.%s", acl->acl_filename, - (accesstype == TRANSMIT) ? "xmt" : "sub"); + (void) sprintf(buf, "%s%s-%s", + ZEPHYR_ACL_DIR, + (accesstype == TRANSMIT) ? "xmt" : "sub", + acl->acl_filename); return(acl_check(buf, notice->z_sender)); } |