[6805] Small fixes in send/received packet and simple code cleanup also.

This commit is contained in:
VladimirMangos 2008-11-08 07:24:21 +03:00
parent d5b713e9c0
commit ac222e92b1
4 changed files with 12 additions and 6 deletions

View file

@ -1261,6 +1261,8 @@ void WorldSession::HandleWhoisOpcode(WorldPacket& recv_data)
return;
}
normalizePlayerName (charname);
Player *plr = objmgr.GetPlayer(charname.c_str());
if(!plr)