--- lib/config_parse.y~ Wed Dec 12 23:42:10 2001 +++ lib/config_parse.y Wed Feb 13 21:49:56 2002 @@ -771,11 +771,15 @@ ruleoption: option - | bandwidth { checkmodule("bandwidth"); } + | bandwidth { +#if SOCKS_SERVER + checkmodule("bandwidth"); } | command | protocol | proxyprotocol - | redirect { checkmodule("redirect"); } + | redirect { checkmodule("redirect"); +#endif + } ; ruleoptions: { $$ = NULL; }