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/Main.cpp

    r2 r39  
    2626#include "Log.h" 
    2727#include "Master.h" 
     28#include "../game/IRCConf.h" 
     29#include "../game/IRCClient.h" 
    2830 
    2931#ifndef _TRINITY_CORE_CONFIG 
     
    7678    ///- Command line parsing to get the configuration file name 
    7779    char const* cfg_file = _TRINITY_CORE_CONFIG; 
     80    char const* mc_cfg_file = _TRINITY_CORE_CONFIG; 
    7881    int c=1; 
    7982    while( c < argc ) 
     
    136139        return 1; 
    137140    } 
    138      
     141 
     142    sIRC.SetCfg(mc_cfg_file); 
    139143    sLog.outString("Using configuration file %s.", cfg_file); 
    140144