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;