Fix compile

This commit is contained in:
Spp
2012-11-16 09:09:27 +01:00
parent a0c8193ee7
commit 978fc4b7b9
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -921,7 +921,7 @@ int WorldSocket::HandleAuthSession(WorldPacket& recvPacket)
// Must be done before WorldSession is created
if (sWorld->getBoolConfig(CONFIG_WARDEN_ENABLED) && os != "Win" && os != "OSX")
{
packet.Initialize(SMSG_AUTH_RESPONSE, 1);
WorldPacket packet(SMSG_AUTH_RESPONSE, 1);
packet << uint8(AUTH_REJECT);
SendPacket(packet);