Branch: Tag:

1996-11-12

1996-11-12 02:36:52 by Mirar (Pontus Hagland) <pike@sort.mirar.org>

...

Rev: server/base_server/module.pike:1.2
Rev: server/base_server/struct/node.pike:1.2
Rev: server/modules/cgi.pike:1.2
Rev: server/modules/directories.pike:1.2
Rev: server/modules/htmlparse.pike:1.2

256:    switch(type)    {    case "allowip": -  patterns += ({ ({ MOD_ALLOW, new(Regexp, value)->match, }) }); +  patterns += ({ ({ MOD_ALLOW, Regexp(value)->match, }) });    break;       case "denyip": -  patterns += ({ ({ MOD_DENY, new(Regexp,value)->match, }) }); +  patterns += ({ ({ MOD_DENY, Regexp(value)->match, }) });    break;       case "allowuser":    value = replace("("+(value/",")*")|("+")","(any)","(.*)"); -  patterns += ({ ({ MOD_USER, new(Regexp, value)->match, }) }); +  patterns += ({ ({ MOD_USER, Regexp(value)->match, }) });    break;    }    }