diff --git a/bin/telebitd.js b/bin/telebitd.js index 3989f74..3fa160f 100755 --- a/bin/telebitd.js +++ b/bin/telebitd.js @@ -732,7 +732,7 @@ function rawTunnel(rawCb) { // we need to make sure we don't get rate-limit spammed // with wildcard domains // TODO: finish implementing dynamic dns for wildcard certs - if (!getServername(state.servernames, opts.domains[0])) { + if (getServername(state.servernames, opts.domains[0])) { opts.email = state.greenlockConf.email || state.config.email; opts.agreeTos = state.greenlockConf.agree || state.greenlockConf.agreeTos || state.config.agreeTos; cb(null, { options: opts, certs: certs });