[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
This commit is contained in:
XTZGZoReX
2008-10-12 14:03:38 -05:00
parent e539b4ca7f
commit 054725122f
42 changed files with 5363 additions and 13568 deletions

View File

@@ -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))