#
# unset the dxgrid flag
#
# Copyright (c) 2000 - Dirk Koopman
#
# $Id$
#

my ($self, $line) = @_;
my @args = split /\s+/, $line;
my $call;
my @out;

@args = $self->call if (!@args || $self->priv < 9);

foreach $call (@args) {
	$call = uc $call;
	my $user = DXUser->get_current($call);
	if ($user) {
		$user->wantgrid(0);
		$user->put;
		push @out, $self->msg('gridu', $call);
	} else {
		push @out, $self->msg('e3', "Unset Grid", $call);
	}
}
return (1, @out);
