no message
This commit is contained in:
parent
472558ac5e
commit
04e22ac7eb
@ -88,6 +88,8 @@ class Node extends Base {
|
|||||||
$oNode->node_bandwidth = 0;
|
$oNode->node_bandwidth = 0;
|
||||||
$oNode->node_bandwidth_limit = 0;
|
$oNode->node_bandwidth_limit = 0;
|
||||||
$oNode->bandwidthlimit_resetday = 0;
|
$oNode->bandwidthlimit_resetday = 0;
|
||||||
|
$oNode->duck_code = str_replace('server', 'node', $oNode->duck_code);
|
||||||
|
$oNode->duck_group = str_replace('server', 'node', $oNode->duck_group);
|
||||||
$oNode->is_shadow = 1;
|
$oNode->is_shadow = 1;
|
||||||
$oNode->password = array_pop($aPwds[$oNode->pid]) ?? Tools::genRandomChar(32);
|
$oNode->password = array_pop($aPwds[$oNode->pid]) ?? Tools::genRandomChar(32);
|
||||||
$iDone += $oNode->save();
|
$iDone += $oNode->save();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user