From 1eabcdd60799121b40f4d2ddb3b977fa0b2aeb94 Mon Sep 17 00:00:00 2001 From: Dirk Koopman Date: Fri, 17 Apr 2020 15:38:08 +0100 Subject: [PATCH] fix DXProt.pm --- perl/DXProt.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)"); -- 2.43.0