[10243] Traditional crash fix :/

This commit is contained in:
VladimirMangos 2010-07-22 07:34:48 +04:00
parent a121f7a3e5
commit 62e0e020a0
2 changed files with 3 additions and 2 deletions

View file

@ -995,7 +995,8 @@ ChatCommandSearchResult ChatHandler::FindCommand(ChatCommand* table, char const*
{
// command not found directly in child command list, return child command list owner
command = &table[i];
*parentCommand = NULL; // we don't known parent of table list at this point
if (parentCommand)
*parentCommand = NULL; // we don't known parent of table list at this point
text = oldchildtext; // restore text to stated just after parse found parent command
return CHAT_COMMAND_UNKNOWN_SUBCOMMAND; // we not found subcommand for table[i]

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "10242"
#define REVISION_NR "10243"
#endif // __REVISION_NR_H__