[Styling] Minor code styling changes

This commit is contained in:
Antz 2021-01-12 18:37:15 +00:00
parent 507fb517c9
commit 7c4c25837b
2 changed files with 4 additions and 2 deletions

View File

@ -1336,10 +1336,12 @@ void ChatHandler::ExecuteCommand(const char* text)
}
if (ChatCommand* showCommand = (strlen(command->Name) == 0 && parentCommand ? parentCommand : command))
{
if (ChatCommand* childs = showCommand->ChildCommands)
{
ShowHelpForSubCommands(childs, showCommand->Name);
}
}
SetSentErrorMessage(true);
}