diff --git a/lodns.nimble b/lodns.nimble index 7f76f98..30e6821 100644 --- a/lodns.nimble +++ b/lodns.nimble @@ -1,6 +1,6 @@ # Package -version = "0.1.3" +version = "0.1.4" author = "vandot" description = "Simple DNS server for local development" license = "MIT" diff --git a/src/lodns.nim b/src/lodns.nim index 05b5e17..2f8662e 100644 --- a/src/lodns.nim +++ b/src/lodns.nim @@ -1,4 +1,4 @@ -import std/[os, net, parseopt] +import std/[os, parseopt] # Internal imports import ./lodns/[actions, server] @@ -54,11 +54,11 @@ proc main() = if install or start: (ip, port) = systemProbe() - if install == true: + if install: install(ip, port, tld) if uninstall: uninstall(tld) - if start == true: + if start: serve(ip, port, tld) else: writeHelp()