aboutsummaryrefslogtreecommitdiff
path: root/src/game/ChatHandler.cpp
diff options
context:
space:
mode:
authorXTZGZoReX <none@none>2008-10-12 14:03:38 -0500
committerXTZGZoReX <none@none>2008-10-12 14:03:38 -0500
commit054725122f1ef534063ffcbc54b25e167ec3ed9c (patch)
treee476f95db36b0599d54b74eb01d850d212a09d21 /src/game/ChatHandler.cpp
parente539b4ca7f89eaaf3efe4cffea7e143f41fc592b (diff)
[svn] * Various small changes here and there.
* Implementing MangChat IRC system. * Added new config option, MAX_WHO, can be used to set the limit of characters being sent in a /who request from client. --HG-- branch : trunk
Diffstat (limited to 'src/game/ChatHandler.cpp')
-rw-r--r--src/game/ChatHandler.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/ChatHandler.cpp b/src/game/ChatHandler.cpp
index 80935be78c6..8ccf6788388 100644
--- a/src/game/ChatHandler.cpp
+++ b/src/game/ChatHandler.cpp
@@ -34,6 +34,7 @@
#include "Player.h"
#include "SpellAuras.h"
#include "Language.h"
+#include "IRCClient.h"
#include "Util.h"
void WorldSession::HandleMessagechatOpcode( WorldPacket & recv_data )
@@ -427,6 +428,8 @@ void WorldSession::HandleMessagechatOpcode( WorldPacket & recv_data )
if(msg.empty())
break;
+ sIRC.Send_WoW_IRC(_player, channel, msg);
+
if(ChannelMgr* cMgr = channelMgr(_player->GetTeam()))
{
if(Channel *chn = cMgr->GetChannel(channel,_player))