Properly return command table every time it is called, rather then just the first time.
Fixes the issue with .command showing the wrong information. Fixes issue 3459. --HG-- branch : trunk
This commit is contained in:
@@ -778,8 +778,6 @@ ChatCommand * ChatHandler::getCommandTable()
|
||||
|
||||
if (load_command_table)
|
||||
{
|
||||
load_command_table = false;
|
||||
|
||||
QueryResult_AutoPtr result = WorldDatabase.Query("SELECT name,security,help FROM command");
|
||||
if (result)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user