ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/src/ircd.c
(Generate patch)

Comparing ircd-hybrid-8/src/ircd.c (file contents):
Revision 1325 by michael, Sat Mar 31 10:29:02 2012 UTC vs.
Revision 1503 by michael, Tue Aug 14 09:05:58 2012 UTC

# Line 82 | Line 82 | const char *logFileName = LPATH;
82   const char *pidFileName = PPATH;
83  
84   char **myargv;
85 char ircd_platform[PLATFORMLEN];
85  
86   int dorehash = 0;
87   int doremotd = 0;
# Line 142 | Line 141 | make_daemon(void)
141  
142   static int printVersion = 0;
143  
144 < struct lgetopt myopts[] = {
144 > static struct lgetopt myopts[] = {
145    {"dlinefile",  &ConfigFileEntry.dlinefile,
146     STRING, "File to use for dline.conf"},
147    {"configfile", &ConfigFileEntry.configfile,
# Line 299 | Line 298 | static void
298   initialize_message_files(void)
299   {
300    init_message_file(USER_MOTD, MPATH, &ConfigFileEntry.motd);
302  init_message_file(OPER_MOTD, OPATH, &ConfigFileEntry.opermotd);
301    init_message_file(USER_LINKS, LIPATH, &ConfigFileEntry.linksfile);
302  
303    read_message_file(&ConfigFileEntry.motd);
306  read_message_file(&ConfigFileEntry.opermotd);
304    read_message_file(&ConfigFileEntry.linksfile);
305  
306    init_isupport();
# Line 511 | Line 508 | main(int argc, char *argv[])
508    ConfigFileEntry.rxlinefile = RXPATH; /* Server regex xline file   */
509    ConfigFileEntry.rklinefile = RKPATH; /* Server regex kline file   */
510    ConfigFileEntry.dlinefile  = DLPATH; /* dline file                */
514  ConfigFileEntry.glinefile  = GPATH;  /* gline log file            */
511    ConfigFileEntry.cresvfile  = CRESVPATH; /* channel resv file      */
512    ConfigFileEntry.nresvfile  = NRESVPATH; /* nick resv file         */
513    myargv = argv;
# Line 543 | Line 539 | main(int argc, char *argv[])
539  
540    setup_signals();
541  
546  get_ircd_platform(ircd_platform);
547
542    /* Init the event subsystem */
543    eventInit();
544    /* We need this to initialise the fd array before anything else */
# Line 563 | Line 557 | main(int argc, char *argv[])
557    init_hash();
558    init_ip_hash_table();      /* client host ip hash table */
559    init_host_hash();          /* Host-hashtable. */
566  clear_tree_parse();
560    init_client();
561    init_class();
562 <  init_whowas();
562 >  whowas_init();
563    watch_init();
564    init_auth();          /* Initialise the auth code */
565    init_resolver();      /* Needs to be setup before the io loop */
566 +  modules_init();
567    read_conf_files(1);   /* cold start init conf files */
568    init_uid();
569    initialize_server_capabs();   /* Set up default_server_capabs */

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)