Roxen.git / server / base_server / module.pike

version» Context lines:

Roxen.git/server/base_server/module.pike:271:    case "allowip":    patterns += ({ ({ MOD_ALLOW, Regexp(value)->match, }) });    break;       case "denyip":    patterns += ({ ({ MOD_DENY, Regexp(value)->match, }) });    break;       case "allowuser":    value = replace("("+(value/",")*")|("+")","(any)","(.*)"); -  if(this->proxy_auth_needed) +  if(this->proxy_auth_needed) {    patterns += ({ ({ MOD_PROXY_USER, Regexp(value)->match, }) }); -  else +  } else {    patterns += ({ ({ MOD_USER, Regexp(value)->match, }) }); -  +  }    break;    }    }    }    return patterns;   }         mixed stat_file(string f, object id){}   mixed find_dir(string f, object id){}   mixed real_file(string f, object id){}