summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tinydns-controller.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/tinydns-controller.lua b/tinydns-controller.lua
index 2dd6af4..a617cf0 100644
--- a/tinydns-controller.lua
+++ b/tinydns-controller.lua
@@ -317,9 +317,7 @@ function edit(self)
end
if not (self.model:valid_filename(self.clientdata.name)) then
- self.conf.action = "status"
- self.conf.type = "redir"
- error (self.conf)
+ redirect(self)
end
local status = getstatus(self)