diff options
author | KingPin <none@none> | 2008-10-20 12:23:56 -0500 |
---|---|---|
committer | KingPin <none@none> | 2008-10-20 12:23:56 -0500 |
commit | 35f378aef9e2da3b24b2adb182f165d52da6a09b (patch) | |
tree | 317bd32acf1b2447ed11cd6b9962e000dfaeaffc /src/game/Chat.cpp | |
parent | a1d00528a32f124f99ea26273b7172c2a5e2868e (diff) |
[svn] * fixed help for subcommands - source mangos
* Renamed accounts column tbc to expansion and it only took a little over 4 hours o.O
--HG--
branch : trunk
Diffstat (limited to 'src/game/Chat.cpp')
-rw-r--r-- | src/game/Chat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Chat.cpp b/src/game/Chat.cpp index b8950d5da82..2f5eb5d71fb 100644 --- a/src/game/Chat.cpp +++ b/src/game/Chat.cpp @@ -626,7 +626,7 @@ bool ChatHandler::ExecuteCommandInTable(ChatCommand *table, const char* text, st for(uint32 i = 0; table[i].Name != NULL; i++) { - if( !hasStringAbbr(table[i].Name, cmd.c_str()) ) + if( *subcmd && !hasStringAbbr(table[i].Name, subcmd)) continue; // select subcommand from child commands list |