From: Dirk Koopman Date: Fri, 17 Apr 2020 14:38:08 +0000 (+0100) Subject: fix DXProt.pm X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=1eabcdd60799121b40f4d2ddb3b977fa0b2aeb94;p=spider.git fix DXProt.pm --- diff --git a/perl/DXProt.pm b/perl/DXProt.pm index 78c5526b..45107146 100644 --- a/perl/DXProt.pm +++ b/perl/DXProt.pm @@ -1119,7 +1119,6 @@ sub process_rcmd { my ($self, $tonode, $fromnode, $user, $cmd) = @_; - Log('rcmd', 'in', ($ref->{priv}||0), $fromnode, $cmd); if ($tonode eq $main::mycall) { my $ref = DXUser::get_current($fromnode); unless ($ref && UNIVERSAL::isa($ref, 'DXUser')) { @@ -1127,6 +1126,7 @@ sub process_rcmd $self->send_rcmd_reply($main::mycall, $fromnode, $user, "sorry...!"); return; } + Log('rcmd', 'in', ($ref->{priv}||0), $fromnode, $cmd); my $cref = Route::Node::get($fromnode); unless ($cref && UNIVERSAL::isa($cref, 'Route')) { dbg("DXProt process_rcmd: Route $fromnode isn't a reference (tell G1TLH)");