mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2026-01-04 15:55:32 +00:00
code refactoring changes
This commit is contained in:
@@ -1033,7 +1033,7 @@ namespace DnsServerCore
|
||||
{
|
||||
foreach (string strBlockListUrl in blockListUrlList)
|
||||
{
|
||||
if (strBlockListUrl.StartsWith("!"))
|
||||
if (strBlockListUrl.StartsWith('!'))
|
||||
{
|
||||
string strAllowListUrl = strBlockListUrl.Substring(1);
|
||||
|
||||
@@ -1062,7 +1062,7 @@ namespace DnsServerCore
|
||||
|
||||
foreach (string strBlockListUrl in blockListUrlList)
|
||||
{
|
||||
if (strBlockListUrl.StartsWith("!"))
|
||||
if (strBlockListUrl.StartsWith('!'))
|
||||
{
|
||||
Uri allowListUrl = new Uri(strBlockListUrl.Substring(1));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user