mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-04-04 13:47:39 +03:00
Pasto, thanks to @lifenjoiner
This commit is contained in:
parent
6e8628f796
commit
14ef11447e
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ func (plugin *PluginAllowName) Init(proxy *Proxy) error {
|
|||
if len(line) == 0 {
|
||||
continue
|
||||
}
|
||||
parts := strings.Split(line, "@")
|
||||
parts := strings.Fields(line)
|
||||
timeRangeName := ""
|
||||
if len(parts) == 2 {
|
||||
if timeRangeParts := strings.Split(parts[1], "@"); len(timeRangeParts) == 2 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue