Changeset 39 for trunk/src/trinitycore/Main.cpp
- Timestamp:
- 11/19/08 13:26:44 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/trinitycore/Main.cpp
r2 r39 26 26 #include "Log.h" 27 27 #include "Master.h" 28 #include "../game/IRCConf.h" 29 #include "../game/IRCClient.h" 28 30 29 31 #ifndef _TRINITY_CORE_CONFIG … … 76 78 ///- Command line parsing to get the configuration file name 77 79 char const* cfg_file = _TRINITY_CORE_CONFIG; 80 char const* mc_cfg_file = _TRINITY_CORE_CONFIG; 78 81 int c=1; 79 82 while( c < argc ) … … 136 139 return 1; 137 140 } 138 141 142 sIRC.SetCfg(mc_cfg_file); 139 143 sLog.outString("Using configuration file %s.", cfg_file); 140 144