aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorenjoi <none@none>2010-08-18 04:50:22 +0100
committerenjoi <none@none>2010-08-18 04:50:22 +0100
commit774eb840e9a7ddcf184c55240b5d932a6998866d (patch)
treedde38207d3c1f1698c2d1f155d0f1a6cd5ef8a59
parentd6fe4b23e94f2d44d4b5161260e29aa56184e4ca (diff)
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
-rw-r--r--src/server/game/Chat/Chat.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/server/game/Chat/Chat.cpp b/src/server/game/Chat/Chat.cpp
index 9ee79281e5a..80288273d2c 100644
--- a/src/server/game/Chat/Chat.cpp
+++ b/src/server/game/Chat/Chat.cpp
@@ -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)
{