make the regexes for 19/21 take out 16/17 as well
[spider.git] / cmd / set / node.pl
index 2a8c1479508b12c303c6da25a20ee503f2a1c887..5c9b00fafd28d6021126007613f44d32282e0b0f 100644 (file)
@@ -28,8 +28,10 @@ foreach $call (@args) {
                $user = DXUser->new($call) if $create;
                if ($user) {
                        $user->sort('A');
+                       $user->homenode($call);
+                       $user->priv(1) unless $user->priv;
                        $user->close();
-                       push @out, $self->msg($create ? 'nodec' : 'node', $call);
+                       push @out, $self->msg($create ? 'nodeac' : 'nodea', $call);
                } else {
                        push @out, $self->msg('e3', "Set Node", $call);
                }