aboutsummaryrefslogtreecommitdiff
path: root/src/game/MiscHandler.cpp
diff options
context:
space:
mode:
authorvisagalis <none@none>2008-11-14 16:28:45 -0600
committervisagalis <none@none>2008-11-14 16:28:45 -0600
commitd1e759479b3f31cccc270e40d3e6af13204eb627 (patch)
tree59ff1f0ae9e3537bdcd1aba10141a83d18fb02ab /src/game/MiscHandler.cpp
parenteefcc9026b638ba1e114b208ce8f40e9d49bdf65 (diff)
[svn] *** Source: MaNGOS ***
* Fixed build extractor at Windows Vista. Author: Vladimir * Fixed comment text and code indentifiers spelling. Author: Vladimir & Paradox. * Access cached member lists in guild handlers instead of querying the DB. Author: Hunuza * Small fixes in send/received packet and simple code cleanup also. Author: Vladimir * Not output error at loading empty character_ticket table. Author: Vladimir * Not reset display model at shapeshift aura remove if it not set at apply. Author: Arthorius * Applied props to few files. --HG-- branch : trunk
Diffstat (limited to 'src/game/MiscHandler.cpp')
-rw-r--r--src/game/MiscHandler.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game/MiscHandler.cpp b/src/game/MiscHandler.cpp
index 6da8f5a4db0..9e810e4baec 100644
--- a/src/game/MiscHandler.cpp
+++ b/src/game/MiscHandler.cpp
@@ -258,7 +258,7 @@ void WorldSession::HandleWhoOpcode( WorldPacket & recv_data )
data << uint8(0); // new 2.4.0
data << uint32( pzoneid ); // player zone id
- // 49 is maximum player count sent to client - can be overriden
+ // 49 is maximum player count sent to client - can be overridden
// through config, but is unstable
if ((++clientcount) == sWorld.getConfig(CONFIG_MAX_WHO))
break;
@@ -1280,6 +1280,8 @@ void WorldSession::HandleWhoisOpcode(WorldPacket& recv_data)
return;
}
+ normalizePlayerName (charname);
+
Player *plr = objmgr.GetPlayer(charname.c_str());
if(!plr)