no need for if there

This commit is contained in:
gorhill 2014-07-06 22:24:11 -04:00
parent 2e4b96157c
commit 048711509b
1 changed files with 6 additions and 8 deletions

View File

@ -57,16 +57,14 @@
}
// Remove from exception list
if ( newState ) {
var hostnames = this.URI.allHostnamesFromHostname(hostname);
while ( hostname = hostnames.shift() ) {
if ( netExceptionList[hostname] !== undefined ) {
delete netExceptionList[hostname];
}
var hostnames = this.URI.allHostnamesFromHostname(hostname);
while ( hostname = hostnames.shift() ) {
if ( netExceptionList[hostname] !== undefined ) {
delete netExceptionList[hostname];
}
this.saveExceptionList();
return false;
}
this.saveExceptionList();
return false;
};
/******************************************************************************/