*Cleaned up database queries - by XTZGZoReX

--HG--
branch : trunk
This commit is contained in:
Blaymoira committed 2009-01-04 17:20:23 +01:00
1 parent c4401376ab
commit c9f0d4292a
18 files changed
+123 -123

No files matched your search

+1 -1
View File
@@ -1285,7 +1285,7 @@ void WorldSession::HandleWhoisOpcode(WorldPacket& recv_data)
uint32 accid = plr->GetSession()->GetAccountId();
QueryResult *result = loginDatabase.PQuery("SELECT username,email,last_ip FROM account WHERE id=%u", accid);
QueryResult *result = LoginDatabase.PQuery("SELECT username,email,last_ip FROM account WHERE id=%u", accid);
if(!result)
{
SendNotification(LANG_ACCOUNT_FOR_PLAYER_NOT_FOUND, charname.c_str());