projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new, more flexible, dx command
[spider.git]
/
cmd
/
unset
/
announce.pl
diff --git
a/cmd/unset/announce.pl
b/cmd/unset/announce.pl
index cf750e2572eefd24c752d3d8537b15f2612432cf..1ff0b548eb8d10ac0156df261f0857239af235bc 100644
(file)
--- a/
cmd/unset/announce.pl
+++ b/
cmd/unset/announce.pl
@@
-1,5
+1,5
@@
#
#
-#
un
set the announce flag
+# set the announce flag
#
# Copyright (c) 1998 - Dirk Koopman
#
#
# Copyright (c) 1998 - Dirk Koopman
#
@@
-15,12
+15,12
@@
my @out;
foreach $call (@args) {
$call = uc $call;
foreach $call (@args) {
$call = uc $call;
- my $
user = ($call eq $self->call) ? $self->user : DXUser
->get($call);
- if ($
user
) {
- $
user
->ann(0);
- push @out,
DXM::
msg('annu', $call);
+ my $
chan = DXChannel
->get($call);
+ if ($
chan
) {
+ $
chan
->ann(0);
+ push @out,
$self->
msg('annu', $call);
} else {
} else {
- push @out,
DXM::
msg('e3', "Unset Announce", $call);
+ push @out,
$self->
msg('e3', "Unset Announce", $call);
}
}
return (1, @out);
}
}
return (1, @out);