Juanra
2007-06-08 16:44:44 UTC
I have made a patch to whitelist user that receive auth response:
@@ -3337,11 +3337,7 @@ sub getline {
mlogRe($1,"Contentonly");
$this->{contentonly}=1;
}
-
- if ($Con{$cli}->{relayok}){
- $this->{whitelisted}=1; #amonra whitelist authentificated users
- }
-
+
if ($this->{whitelisted}!=1 && $whiteListedDomains &&
$mf=~('('.$WLDRE.')')) {
mlogRe($1,"WhiteDomain") ;
I would like to know if this patch is correct and i like if someone can add
an option to enable and disable it.
Thanks
@@ -3337,11 +3337,7 @@ sub getline {
mlogRe($1,"Contentonly");
$this->{contentonly}=1;
}
-
- if ($Con{$cli}->{relayok}){
- $this->{whitelisted}=1; #amonra whitelist authentificated users
- }
-
+
if ($this->{whitelisted}!=1 && $whiteListedDomains &&
$mf=~('('.$WLDRE.')')) {
mlogRe($1,"WhiteDomain") ;
I would like to know if this patch is correct and i like if someone can add
an option to enable and disable it.
Thanks