Revert "Pasto, thanks to @lifenjoiner"

This reverts commit 14ef11447e.
This commit is contained in:
Frank Denis 2021-05-13 10:30:57 +02:00
parent 180e75bfdb
commit 8da1b698ad
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ func (plugin *PluginAllowName) Init(proxy *Proxy) error {
if len(line) == 0 {
continue
}
parts := strings.Fields(line)
parts := strings.Split(line, "@")
timeRangeName := ""
if len(parts) == 2 {
line = strings.TrimSpace(parts[0])