From 774eb840e9a7ddcf184c55240b5d932a6998866d Mon Sep 17 00:00:00 2001 From: enjoi Date: Wed, 18 Aug 2010 04:50:22 +0100 Subject: [PATCH] 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 --- src/server/game/Chat/Chat.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/server/game/Chat/Chat.cpp b/src/server/game/Chat/Chat.cpp index 9ee79281e5..80288273d2 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) {