diff options
author | Spp <none@none> | 2010-04-11 20:20:38 +0200 |
---|---|---|
committer | Spp <none@none> | 2010-04-11 20:20:38 +0200 |
commit | 65c3e979e2eed9e2485caf65b487dbd2219c0592 (patch) | |
tree | 5ecb0c945d99401d87fcfe116dfbc369328c4829 /src/game/ChatHandler.cpp | |
parent | c592fc75809e420eb3554b12c31eb645a8aae280 (diff) |
Tab to Spaces and remove of trailing spaces
--HG--
branch : trunk
Diffstat (limited to 'src/game/ChatHandler.cpp')
-rw-r--r-- | src/game/ChatHandler.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/game/ChatHandler.cpp b/src/game/ChatHandler.cpp index ca17e1868f4..88e2b5473a5 100644 --- a/src/game/ChatHandler.cpp +++ b/src/game/ChatHandler.cpp @@ -734,23 +734,23 @@ void WorldSession::SendPlayerNotFoundNotice(std::string name) data << name; SendPacket(&data); } - -void WorldSession::SendPlayerAmbiguousNotice(std::string name) + +void WorldSession::SendPlayerAmbiguousNotice(std::string name) { WorldPacket data(SMSG_CHAT_PLAYER_AMBIGUOUS, name.size()+1); data << name; - SendPacket(&data); -} - -void WorldSession::SendWrongFactionNotice() -{ - WorldPacket data(SMSG_CHAT_WRONG_FACTION, 0); - SendPacket(&data); -} - -void WorldSession::SendChatRestrictedNotice(ChatRestrictionType restriction) -{ + SendPacket(&data); +} + +void WorldSession::SendWrongFactionNotice() +{ + WorldPacket data(SMSG_CHAT_WRONG_FACTION, 0); + SendPacket(&data); +} + +void WorldSession::SendChatRestrictedNotice(ChatRestrictionType restriction) +{ WorldPacket data(SMSG_CHAT_RESTRICTED, 1); data << uint8(restriction); - SendPacket(&data); + SendPacket(&data); } |