Skip to content

Commit

Permalink
[10243] Traditional crash fix :/
Browse files Browse the repository at this point in the history
  • Loading branch information
VladimirMangos committed Jul 22, 2010
1 parent 096201f commit 14e94ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/game/Chat.cpp
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "10242"
#define REVISION_NR "10243"
#endif // __REVISION_NR_H__

0 comments on commit 14e94ac

Please sign in to comment.