Subversion Repositories IRCServ

Rev

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

Rev 9 Rev 10
Line 1... Line 1...
1
/* $Id: chanserv.c 9 2024-08-25 20:51:41Z nishi $ */
1
/* $Id: chanserv.c 10 2024-08-26 13:37:23Z nishi $ */
2
 
2
 
3
#include "../is_chanserv.h"
3
#include "../is_chanserv.h"
4
 
4
 
5
#include "../is_util.h"
5
#include "../is_util.h"
6
#include "../is_log.h"
6
#include "../is_log.h"
-
 
7
#include "../is_db.h"
7
 
8
 
8
extern struct is_config config;
9
extern struct is_config config;
9
extern struct is_message message;
10
extern struct is_message message;
10
 
11
 
11
int is_chanserv_init(void) { return 0; }
12
int is_chanserv_init(void) {
-
 
13
	is_run_sql("create table if not exists chanserv(user text, password text, name text, topic text)");
-
 
14
	is_run_sql("create table if not exists chanserv_users(user text, name text, level number)");
-
 
15
	return 0;
-
 
16
}