mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 00:48:56 +01:00
*Backout radaaba37a4. Brings back command table caching. Thanks to Machiavelli for spotting the issue.
--HG-- branch : trunk
This commit is contained in:
@@ -778,6 +778,8 @@ 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