fix an issue of ACL

This commit is contained in:
Max Lv
2015-09-21 19:01:21 +08:00
parent 5ae4df94e4
commit 3042dd6a06
+1 -1
View File
@@ -244,7 +244,7 @@ static void server_recv_cb(EV_P_ ev_io *w, int revents)
return;
}
if (remote->send_ctx->connected && auth) {
if (!remote->direct && remote->send_ctx->connected && auth) {
remote->buf = ss_gen_hash(remote->buf, &r, remote->hash_buf, &remote->hash_idx, BUF_SIZE);
}