From 79e791e190a6146bbdd1a4ca304b512f7a7142f6 Mon Sep 17 00:00:00 2001 From: Qais Patankar Date: Fri, 14 Aug 2015 10:35:14 +0100 Subject: [PATCH] Fix typo from 234e60dcdee10 (compiled, untested, please test!) --- .../mods/deathmatch/logic/CStaticFunctionDefinitions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MTA10_Server/mods/deathmatch/logic/CStaticFunctionDefinitions.cpp b/MTA10_Server/mods/deathmatch/logic/CStaticFunctionDefinitions.cpp index b57eeedd61..cdeadf9365 100644 --- a/MTA10_Server/mods/deathmatch/logic/CStaticFunctionDefinitions.cpp +++ b/MTA10_Server/mods/deathmatch/logic/CStaticFunctionDefinitions.cpp @@ -11181,7 +11181,7 @@ bool CStaticFunctionDefinitions::RemoveAccount ( CAccount* pAccount ) bool CStaticFunctionDefinitions::SetAccountPassword ( CAccount* pAccount, SString strPassword, CAccountPassword::EAccountPasswordType ePasswordType ) { assert ( pAccount ); - assert ( strPassword ); + assert ( !strPassword.empty() ); if ( pAccount->IsRegistered () ) {