diff options
Diffstat (limited to 'plugin/template/setup.go')
-rw-r--r-- | plugin/template/setup.go | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/plugin/template/setup.go b/plugin/template/setup.go index 2065ef649..616531e49 100644 --- a/plugin/template/setup.go +++ b/plugin/template/setup.go @@ -140,12 +140,7 @@ func templateParse(c *caddy.Controller) (handler Handler, err error) { t.rcode = rcode case "fallthrough": - args := c.RemainingArgs() - if len(args) > 0 { - t.fthrough.SetZonesFromArgs(c.RemainingArgs()) - } else { - t.fthrough.SetZonesFromArgs(zones) - } + t.fall.SetZonesFromArgs(c.RemainingArgs()) default: return handler, c.ArgErr() |