projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
belt and braces locate users.v4 in DXUser.pm
[spider.git]
/
cmd
/
set
/
clx.pl
diff --git
a/cmd/set/clx.pl
b/cmd/set/clx.pl
index dd0ee2fdbaf167452274bb8a225388b2b66e346e..38c02dcd096ec018793ccaac13406db551ac7ff2 100644
(file)
--- a/
cmd/set/clx.pl
+++ b/
cmd/set/clx.pl
@@
-5,7
+5,7
@@
#
# Copyright (c) 1998 - Dirk Koopman
#
#
# Copyright (c) 1998 - Dirk Koopman
#
-#
$Id$
+#
#
my ($self, $line) = @_;
#
my ($self, $line) = @_;
@@
-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) {