From ff27c9c554603b8f5002612a7808b5d2374c1f5c Mon Sep 17 00:00:00 2001 From: kaetemi Date: Fri, 22 Apr 2022 09:58:39 +0800 Subject: [PATCH] Fix another null pointer, ryzom/ryzomcore#665 --- nel/src/net/module_gateway.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nel/src/net/module_gateway.cpp b/nel/src/net/module_gateway.cpp index d4d07ea610..4adbbf3cef 100644 --- a/nel/src/net/module_gateway.cpp +++ b/nel/src/net/module_gateway.cpp @@ -689,7 +689,7 @@ namespace NLNET /** Send a command to the security plug-in */ virtual void sendSecurityCommand(const TParsedCommandLine &command) { - if (_SecurityPlugin != NULL) + if (_SecurityPlugin == NULL) { nlwarning("NLNETL5 : CStandardGateway::sendSecurityCommand : plug-in NOT created "); return;