changeset 3647:ba0db579aeb6

make logic more clear
author Igor Sysoev <igor@sysoev.ru>
date Fri, 25 Jun 2010 12:06:37 +0000
parents 7a8e7576eb94
children 67dc5dbbcca3
files src/http/modules/ngx_http_userid_filter_module.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/modules/ngx_http_userid_filter_module.c
+++ b/src/http/modules/ngx_http_userid_filter_module.c
@@ -199,7 +199,7 @@ ngx_http_userid_filter(ngx_http_request_
 
     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);
     }