*Tabs to spaces

*Fix a type in CreatureEventAI.cpp from last rev

--HG--
branch : trunk
This commit is contained in:
QAston
2010-01-10 02:12:02 +01:00
parent 8417a4fee3
commit c65aa45bc6
8 changed files with 49 additions and 49 deletions

View File

@@ -830,14 +830,14 @@ int WorldSocket::HandleAuthSession (WorldPacket& recvPacket)
" AND (RealmID = '%d'"
" OR RealmID = '-1')",
id, realmID);
if(!result)
security = 0;
else
{
fields = result->Fetch ();
security = fields[1].GetInt32();
delete result;
}
if(!result)
security = 0;
else
{
fields = result->Fetch ();
security = fields[1].GetInt32();
delete result;
}
// Re-check account ban (same check as in realmd)
QueryResult *banresult =