projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
probably fix Script erase error
[spider.git]
/
cmd
/
spoof.pl
diff --git
a/cmd/spoof.pl
b/cmd/spoof.pl
index e8ee5c55d96ddd04b5e8fd9dbc23f7c49afcf315..e0194a1178e1bfd5b09eba285da1e9a34a304eb5 100644
(file)
--- a/
cmd/spoof.pl
+++ b/
cmd/spoof.pl
@@
-13,9
+13,9
@@
my $myuser = $self->user;
my $mylang = $self->lang;
my ($call, $newline) = split /\s+/, $line, 2;
my $mylang = $self->lang;
my ($call, $newline) = split /\s+/, $line, 2;
-return (1, $self->msg('nodee1', $call)) if DXChannel
->
get($call);
+return (1, $self->msg('nodee1', $call)) if DXChannel
::
get($call);
-if ($self->remotecmd) {
+if ($self->remotecmd
|| $self->inscript
) {
Log('DXCommand', "$mycall is trying to spoof $call remotely");
return (1, $self->msg('e5'));
}
Log('DXCommand', "$mycall is trying to spoof $call remotely");
return (1, $self->msg('e5'));
}
@@
-26,7
+26,7
@@
if ($self->priv < 9) {
my @out;
$call = uc $call;
my @out;
$call = uc $call;
-my $user = DXUser
->
get_current($call);
+my $user = DXUser
::
get_current($call);
unless ($user) {
$user = DXUser->new($call);
push @out, $self->msg('spf1', $call);
unless ($user) {
$user = DXUser->new($call);
push @out, $self->msg('spf1', $call);