make logic more clear

This commit is contained in:
Igor Sysoev 2010-06-25 12:06:37 +00:00
parent 23d053fa97
commit 55c3f1b31b

View File

@ -199,7 +199,7 @@ ngx_http_userid_filter(ngx_http_request_t *r)
conf = ngx_http_get_module_loc_conf(r, ngx_http_userid_filter_module);
if (conf->enable <= NGX_HTTP_USERID_LOG) {
if (conf->enable < NGX_HTTP_USERID_V1) {
return ngx_http_next_header_filter(r);
}