2 # set isolation for this node
4 # Please note that this is only effective if the user is not on-line
6 # Copyright (c) 1998 - Dirk Koopman
11 my ($self, $line) = @_;
12 my @args = split /\s+/, $line;
18 return (1, $self->msg('e5')) if $self->priv < 9;
20 foreach $call (@args) {
22 my $chan = DXChannel::get($call);
24 push @out, $self->msg('nodee1', $call);
26 $user = DXUser->get($call);
28 $user = DXUser->new($call) if $create;
30 push(@out, $self->msg('isoari', $call)), $f++ if Filter::getfn('route', $call, 1);
31 push(@out, $self->msg('isoaro', $call)), $f++ if Filter::getfn('route', $call, 0);
36 push @out, $self->msg($create ? 'isoc' : 'iso', $call);
37 Log('DXCommand', $self->msg($create ? 'isoc' : 'iso', $call));
40 push @out, $self->msg('e3', "Set/Isolate", $call);