Subversion Repositories IRCServ

Rev

Rev 8 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8 Rev 10
Line 1... Line 1...
1
/* $Id: main.c 8 2024-08-25 20:51:19Z nishi $ */
1
/* $Id: main.c 10 2024-08-26 13:37:23Z 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"
7
#include "is_ircd.h"
7
#include "is_ircd.h"
-
 
8
#include "is_db.h"
8
 
9
 
9
#include "../config.h"
10
#include "../config.h"
10
 
11
 
11
#ifdef USE_NICKSERV
12
#ifdef USE_NICKSERV
12
#include "is_nickserv.h"
13
#include "is_nickserv.h"
Line 47... Line 48...
47
 
48
 
48
	str = is_strcat("IRCServ version ", is_get_version());
49
	str = is_strcat("IRCServ version ", is_get_version());
49
	is_log(str);
50
	is_log(str);
50
	free(str);
51
	free(str);
51
 
52
 
-
 
53
	is_log("Initialing the database");
-
 
54
	st = is_db_init();
-
 
55
	if(st != 0) goto cleanup;
-
 
56
 
52
	is_log("Initializing the socket");
57
	is_log("Initializing the socket");
53
	st = is_socket_init();
58
	st = is_socket_init();
54
	if(st != 0) goto cleanup;
59
	if(st != 0) goto cleanup;
55
 
60
 
56
	is_log("Initializing the connection");
61
	is_log("Initializing the connection");