Subversion Repositories IRCServ

Rev

Rev 7 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7 Rev 8
Line 1... Line 1...
1
/* $Id: main.c 7 2024-08-25 20:49:55Z nishi $ */
1
/* $Id: main.c 8 2024-08-25 20:51:19Z nishi $ */
2
 
2
 
3
#include "is_version.h"
3
#include "is_version.h"
4
#include "is_util.h"
4
#include "is_util.h"
5
#include "is_log.h"
5
#include "is_log.h"
6
#include "is_socket.h"
6
#include "is_socket.h"
Line 55... Line 55...
55
 
55
 
56
	is_log("Initializing the connection");
56
	is_log("Initializing the connection");
57
	st = is_ircd_connect();
57
	st = is_ircd_connect();
58
	if(st != 0) goto cleanup;
58
	if(st != 0) goto cleanup;
59
 
59
 
60
	is_log("Initializing the services");
-
 
61
 
-
 
62
#ifdef USE_NICKSERV
60
#ifdef USE_NICKSERV
-
 
61
	is_log("Initializing NickServ");
63
	st = is_nickserv_init();
62
	st = is_nickserv_init();
64
	if(st != 0) goto cleanup;
63
	if(st != 0) goto cleanup;
65
#endif
64
#endif
66
#ifdef USE_CHANSERV
65
#ifdef USE_CHANSERV
-
 
66
	is_log("Initializing ChanServ");
67
	st = is_chanserv_init();
67
	st = is_chanserv_init();
68
	if(st != 0) goto cleanup;
68
	if(st != 0) goto cleanup;
69
#endif
69
#endif
70
#ifdef USE_MEMOSERV
70
#ifdef USE_MEMOSERV
-
 
71
	is_log("Initializing MemoServ");
71
	st = is_memoserv_init();
72
	st = is_memoserv_init();
72
	if(st != 0) goto cleanup;
73
	if(st != 0) goto cleanup;
73
#endif
74
#endif
74
#ifdef USE_OPERSERV
75
#ifdef USE_OPERSERV
-
 
76
	is_log("Initializing OperServ");
75
	st = is_operserv_init();
77
	st = is_operserv_init();
76
	if(st != 0) goto cleanup;
78
	if(st != 0) goto cleanup;
77
#endif
79
#endif
78
 
80
 
79
	pid_t pid = 0;
81
	pid_t pid = 0;