Show
Ignore:
Timestamp:
11/19/08 13:26:44 (17 years ago)
Author:
yumileroy
Message:

[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.

Original author: XTZGZoReX
Date: 2008-10-12 14:03:38-05:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/trinitycore/Master.cpp

    r34 r39  
    3939#include "ScriptCalls.h" 
    4040#include "Util.h" 
     41#include "IRCClient.h" 
    4142 
    4243#include "sockets/TcpSocket.h" 
     
    227228        return 1; 
    228229 
     230    ///- Load IRC Config (need DB for gm levels, AutoBroadcast uses world timers) 
     231    sIRC.LoadConfig(sIRC.CfgFile); 
     232 
    229233    ///- Initialize the World 
    230234    sWorld.SetInitialWorldSettings(); 
     
    310314    uint32 loopCounter = 0; 
    311315 
     316    // Start up IRC bot 
     317    ZThread::Thread irc(new IRCClient); 
     318    irc.setPriority ((ZThread::Priority )2); 
     319 
     320 
     321 
    312322    ///- Start up freeze catcher thread 
    313323    uint32 freeze_delay = sConfig.GetIntDefault("MaxCoreStuckTime", 0);