diff --git a/src/XrdCl/XrdClRedirectorRegistry.cc b/src/XrdCl/XrdClRedirectorRegistry.cc index 299ada714b3..2e7cf064bfa 100644 --- a/src/XrdCl/XrdClRedirectorRegistry.cc +++ b/src/XrdCl/XrdClRedirectorRegistry.cc @@ -21,8 +21,8 @@ void RedirectJob::Run( void *arg ) { Message *msg = reinterpret_cast( arg ); // this makes sure the handler takes ownership of the new message - pHandler->Examine( msg ); - pHandler->Process( msg ); + if( pHandler->Examine( msg ) != IncomingMsgHandler::Action::Ignore ) + pHandler->Process( msg ); delete this; }