pass acceptd domains, not fail them, duh

This commit is contained in:
AJ ONeal 2018-06-30 20:45:42 -06:00
parent 7214890e5b
commit ba0afc1bff
1 changed files with 1 additions and 1 deletions

View File

@ -732,7 +732,7 @@ function rawTunnel(rawCb) {
// we need to make sure we don't get rate-limit spammed // we need to make sure we don't get rate-limit spammed
// with wildcard domains // with wildcard domains
// TODO: finish implementing dynamic dns for wildcard certs // 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.email = state.greenlockConf.email || state.config.email;
opts.agreeTos = state.greenlockConf.agree || state.greenlockConf.agreeTos || state.config.agreeTos; opts.agreeTos = state.greenlockConf.agree || state.greenlockConf.agreeTos || state.config.agreeTos;
cb(null, { options: opts, certs: certs }); cb(null, { options: opts, certs: certs });