projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Now add files that the previous commit refered to
[spider.git]
/
cmd
/
set
/
node.pl
diff --git
a/cmd/set/node.pl
b/cmd/set/node.pl
index 82e8be11f9d90b0dcd127fdcc064ef834a087c48..185f906c7752db1fbd87f06e64c865867d67bd18 100644
(file)
--- a/
cmd/set/node.pl
+++ b/
cmd/set/node.pl
@@
-19,11
+19,19
@@
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;
+ }
+ if ($call eq $main::myalias) {
+ 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);
$create = !$user;
$user = DXUser->new($call) if $create;
if ($user) {
$create = !$user;
$user = DXUser->new($call) if $create;
if ($user) {