/[svn]/ircd-hybrid-7.2/src/ircd.c
ViewVC logotype

Diff of /ircd-hybrid-7.2/src/ircd.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 895 by michael, Wed Oct 31 18:09:24 2007 UTC revision 896 by michael, Sat Nov 3 08:54:09 2007 UTC
# Line 53  Line 53 
53  #include "s_log.h"  #include "s_log.h"
54  #include "s_misc.h"  #include "s_misc.h"
55  #include "s_serv.h"      /* try_connections */  #include "s_serv.h"      /* try_connections */
 #include "s_stats.h"  
56  #include "send.h"  #include "send.h"
57  #include "whowas.h"  #include "whowas.h"
58  #include "modules.h"  #include "modules.h"
# Line 81  struct admin_info AdminInfo = { NULL, NU Line 80  struct admin_info AdminInfo = { NULL, NU
80  struct Counter Count = { 0, 0, 0, 0, 0, 0, 0, 0 };  struct Counter Count = { 0, 0, 0, 0, 0, 0, 0, 0 };
81  struct ServerState_t server_state = { 0 };  struct ServerState_t server_state = { 0 };
82  struct logging_entry ConfigLoggingEntry = { 1, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0} };  struct logging_entry ConfigLoggingEntry = { 1, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0} };
83    struct ServerStatistics ServerStats;
84  struct timeval SystemTime;  struct timeval SystemTime;
85  struct Client me;             /* That's me */  struct Client me;             /* That's me */
86  struct LocalUser meLocalUser; /* That's also part of me */  struct LocalUser meLocalUser; /* That's also part of me */
# Line 282  io_loop(void) Line 282  io_loop(void)
282        {        {
283          struct Client *client_p = ptr->data;          struct Client *client_p = ptr->data;
284          assert(client_p->localClient->list_task);          assert(client_p->localClient->list_task);
285          safe_list_channels(client_p, client_p->localClient->list_task, 0, 0);          safe_list_channels(client_p, client_p->localClient->list_task, 0);
286        }        }
287      }      }
288    
# Line 569  main(int argc, char *argv[]) Line 569  main(int argc, char *argv[])
569                                                     of Client list */                                                     of Client list */
570    
571    memset(&ServerInfo, 0, sizeof(ServerInfo));    memset(&ServerInfo, 0, sizeof(ServerInfo));
572      memset(&ServerStats, 0, sizeof(ServerStats));
573    
574    /* Initialise the channel capability usage counts... */    /* Initialise the channel capability usage counts... */
575    init_chcap_usage_counts();    init_chcap_usage_counts();
# Line 641  main(int argc, char *argv[]) Line 642  main(int argc, char *argv[])
642    init_class();    init_class();
643    init_whowas();    init_whowas();
644    watch_init();    watch_init();
   init_stats();  
645    read_conf_files(1);   /* cold start init conf files */    read_conf_files(1);   /* cold start init conf files */
646    me.id[0] = '\0';    me.id[0] = '\0';
647    init_uid();    init_uid();

Legend:
Removed from v.895  
changed lines
  Added in v.896

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.26