Core: Fix a possible crash in WorldSession::ProcessQueryCallbacks

Author: Cyberbrest
Closes issue #5262

--HG--
branch : trunk
This commit is contained in:
Machiavelli
2010-12-24 19:46:11 +01:00
parent 1e736fb32a
commit 398d71285d
3 changed files with 8 additions and 4 deletions
@@ -58,7 +58,7 @@ void WorldSession::SendNameQueryOpcode(Player *p)
void WorldSession::SendNameQueryOpcodeFromDB(uint64 guid)
{
ACE_Future<QueryResult> lFutureResult =
QueryResultFuture lFutureResult =
CharacterDatabase.AsyncPQuery(
!sWorld->getBoolConfig(CONFIG_DECLINED_NAMES_USED) ?
// ------- Query Without Declined Names --------