parent
180e75bfdb
commit
8da1b698ad
|
@ -40,7 +40,7 @@ func (plugin *PluginAllowName) Init(proxy *Proxy) error {
|
||||||
if len(line) == 0 {
|
if len(line) == 0 {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
parts := strings.Fields(line)
|
parts := strings.Split(line, "@")
|
||||||
timeRangeName := ""
|
timeRangeName := ""
|
||||||
if len(parts) == 2 {
|
if len(parts) == 2 {
|
||||||
line = strings.TrimSpace(parts[0])
|
line = strings.TrimSpace(parts[0])
|
||||||
|
|
Loading…
Reference in New Issue