summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--tinydns-controller.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0301a76..86edc3f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
APP_NAME=tinydns
PACKAGE=acf-$(APP_NAME)
-VERSION=0.2.0
+VERSION=0.2.1
APP_DIST=\
tinydns* \
diff --git a/tinydns-controller.lua b/tinydns-controller.lua
index 640fbe7..6c9d006 100644
--- a/tinydns-controller.lua
+++ b/tinydns-controller.lua
@@ -261,7 +261,7 @@ function expert(self)
else
create.name.errtxt = "Incorrect filename"
end
- if (create.name.errtxt) then
+ if not (create.name.errtxt) then
create.cmdnew.descr = "* File was created"
redirect(self, "edit?name=" .. (self.clientdata.name or ""))
end