*Update to Mangos 6848. Source: Mangos.
--HG-- branch : trunk
This commit is contained in:
1 parent
52f2e35d65
commit
f6ea784eda
22 files changed
+402
-244
No files matched your search
@@ -1275,14 +1275,12 @@ void WorldSession::HandleWhoisOpcode(WorldPacket& recv_data)
|
||||
return;
|
||||
}
|
||||
|
||||
if(charname.empty())
|
||||
if(charname.empty() || !normalizePlayerName (charname))
|
||||
{
|
||||
SendNotification(LANG_NEED_CHARACTER_NAME);
|
||||
return;
|
||||
}
|
||||
|
||||
normalizePlayerName (charname);
|
||||
|
||||
Player *plr = objmgr.GetPlayer(charname.c_str());
|
||||
|
||||
if(!plr)
|
||||
|
||||
Reference in new issue
Block a user