projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix rbn.pl
[spider.git]
/
cmd
/
set
/
user.pl
diff --git
a/cmd/set/user.pl
b/cmd/set/user.pl
index 832dcac68037b66debf737e01ea66ed6860fc455..62951074d1c0f743dcaa24b128d15a1aeaaab06f 100644
(file)
--- a/
cmd/set/user.pl
+++ b/
cmd/set/user.pl
@@
-19,11
+19,15
@@
return (1, $self->msg('e5')) if $self->priv < 5;
foreach $call (@args) {
$call = uc $call;
foreach $call (@args) {
$call = uc $call;
+ if ($call eq $main::mycall) {
+ push @out, $self->msg('e11', $call);
+ next;
+ }
my $chan = DXChannel::get($call);
if ($chan) {
push @out, $self->msg('nodee1', $call);
} else {
my $chan = DXChannel::get($call);
if ($chan) {
push @out, $self->msg('nodee1', $call);
} else {
- $user = DXUser
->
get($call);
+ $user = DXUser
::
get($call);
return (1, $self->msg('usernf', $call)) if !$user;
$user->sort('U');
$user->priv(0);
return (1, $self->msg('usernf', $call)) if !$user;
$user->sort('U');
$user->priv(0);