more obvious bugfixes
This commit is contained in:
parent
60ee3720e0
commit
f828839b4d
|
@ -156,7 +156,7 @@ DB.domains._add = function (acc, opts) {
|
|||
, wildcard: opts.wildcard
|
||||
};
|
||||
var pdomain;
|
||||
var parts = name.split('.').map(function (el, i, arr) {
|
||||
var parts = opts.name.split('.').map(function (el, i, arr) {
|
||||
return arr.slice(i).join('.');
|
||||
}).reverse();
|
||||
parts.shift();
|
||||
|
|
Loading…
Reference in New Issue