projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
readd set/seeme and show/seeme commands
[spider.git]
/
perl
/
DXCommandmode.pm
diff --git
a/perl/DXCommandmode.pm
b/perl/DXCommandmode.pm
index 8ed74de4f256ff0c639a232a0463a3f09638fa31..d17f6f9178e2accdba36803005ac43901484aa84 100644
(file)
--- a/
perl/DXCommandmode.pm
+++ b/
perl/DXCommandmode.pm
@@
-167,7
+167,7
@@
sub start
$self->send_motd;
# sort out privilege reduction
$self->send_motd;
# sort out privilege reduction
- $self->{priv} = 0 unless $self->{hostname} eq '127.0.0.1' || $self->{hostname} eq '::1' || $self->conn->{usedpasswd};
+ $self->{priv} = 0 unless $self->{hostname} eq '127.0.0.1' || $self->
conn->peerhost eq '127.0.0.1' || $self->
{hostname} eq '::1' || $self->conn->{usedpasswd};
# get the filters
my $nossid = $call;
# get the filters
my $nossid = $call;